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

23 lines
969 B
Groovy
Raw Normal View History

2019-10-26 17:06:40 +08:00
apply plugin: "kotlin"
apply plugin: "java"
2019-11-08 21:17:25 +08:00
apply plugin: "application"
2019-10-26 17:06:40 +08:00
dependencies {
2019-11-06 19:49:37 +08:00
api project(":mirai-core")
runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // mpp targeting android limitation
2019-11-08 19:21:29 +08:00
//runtime files("../../mirai-core/build/classes/atomicfu/jvm/main") // mpp targeting android limitation
2019-11-17 16:36:29 +08:00
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
2019-10-27 17:27:57 +08:00
2019-11-17 12:52:48 +08:00
implementation("org.jetbrains.kotlinx:kotlinx-io:$kotlinXIoVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-io:$coroutinesIoVersion")
2019-11-17 16:36:29 +08:00
implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.62'
2019-10-27 17:27:57 +08:00
implementation 'org.jsoup:jsoup:1.12.1'
2019-10-26 17:06:40 +08:00
}
2019-11-08 21:17:25 +08:00
2019-11-15 10:39:00 +08:00
mainClassName = "demo.gentleman.MainKt"
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-XXLanguage:+InlineClasses"]
}
}