mirai/build.gradle.kts

30 lines
703 B
Plaintext
Raw Normal View History

2020-04-02 22:08:58 +08:00
@file:Suppress("UnstableApiUsage")
2020-06-28 11:45:21 +08:00
plugins {
id("com.jfrog.bintray") version Versions.bintray apply false
2020-08-16 23:21:11 +08:00
id("net.mamoe.kotlin-jvm-blocking-bridge") version Versions.blockingBridge apply false
kotlin("jvm") version Versions.kotlinCompiler
kotlin("plugin.serialization") version Versions.kotlinCompiler
2020-06-28 11:45:21 +08:00
}
2020-08-01 21:53:24 +08:00
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
}