mirai/build.gradle.kts

24 lines
418 B
Plaintext
Raw Normal View History

2020-04-02 22:08:58 +08:00
@file:Suppress("UnstableApiUsage")
tasks.withType(JavaCompile::class.java) {
options.encoding = "UTF8"
}
2020-04-02 21:53:44 +08:00
allprojects {
group = "net.mamoe"
repositories {
2020-06-21 00:44:02 +08:00
mavenLocal()
2020-04-02 21:53:44 +08:00
maven(url = "https://dl.bintray.com/kotlin/kotlin-eap")
jcenter()
mavenCentral()
}
2020-04-02 22:08:58 +08:00
}
subprojects {
afterEvaluate {
2020-06-20 22:55:07 +08:00
apply<MiraiConsoleBuildPlugin>()
2020-06-21 00:44:02 +08:00
setJavaCompileTarget()
2020-04-02 22:08:58 +08:00
}
2020-06-20 22:55:07 +08:00
}