build.gradle.kts 495 B

123456789101112131415161718192021222324252627
  1. @file:Suppress("UnstableApiUsage")
  2. plugins {
  3. id("com.jfrog.bintray") version Versions.bintray apply false
  4. }
  5. tasks.withType(JavaCompile::class.java) {
  6. options.encoding = "UTF8"
  7. }
  8. allprojects {
  9. group = "net.mamoe"
  10. repositories {
  11. mavenLocal()
  12. maven(url = "https://dl.bintray.com/kotlin/kotlin-eap")
  13. jcenter()
  14. mavenCentral()
  15. }
  16. }
  17. subprojects {
  18. afterEvaluate {
  19. apply<MiraiConsoleBuildPlugin>()
  20. setJavaCompileTarget()
  21. }
  22. }