mirai/build.gradle.kts

33 lines
894 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 {
2020-08-16 23:21:11 +08:00
kotlin("jvm") version Versions.kotlinCompiler
kotlin("plugin.serialization") version Versions.kotlinCompiler
2020-09-19 20:33:34 +08:00
id("com.jfrog.bintray") version Versions.bintray apply false
id("net.mamoe.kotlin-jvm-blocking-bridge") version Versions.blockingBridge apply false
id("com.gradle.plugin-publish") version "0.12.0" apply false
//id("com.bmuschko.nexus") version "2.3.1" apply false
//id("io.codearte.nexus-staging") version "0.11.0" apply false
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
}