mirai/mirai-demos/mirai-demo-java/build.gradle

18 lines
480 B
Groovy
Raw Normal View History

2020-02-15 15:03:52 +08:00
apply plugin: "java"
apply plugin: "kotlin"
dependencies {
2020-02-18 13:03:51 +08:00
runtimeOnly files("../../mirai-core/build/classes/kotlin/jvm/main") // IDE bug
2020-02-15 15:03:52 +08:00
2020-02-18 13:03:51 +08:00
runtimeOnly files("../../mirai-core-qqandroid/build/classes/kotlin/jvm/main") // IDE bug
2020-02-15 15:03:52 +08:00
implementation project(":mirai-core-qqandroid")
implementation project(":mirai-japt")
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'