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

32 lines
1.2 KiB
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"
2020-02-04 17:11:57 +08:00
apply plugin: "kotlinx-serialization"
2019-10-26 17:06:40 +08:00
dependencies {
2020-02-07 11:05:12 +08:00
runtimeOnly files("../../mirai-core/build/classes/kotlin/jvm/main") // IDE bug
2020-02-07 10:11:47 +08:00
runtimeOnly files("../../mirai-core-qqandroid/build/classes/kotlin/jvm/main") // IDE bug
2020-02-07 11:05:12 +08:00
api project(":mirai-core")
api project(":mirai-core-qqandroid")
2020-02-07 10:11:47 +08:00
api("org.jetbrains.kotlinx:atomicfu:$atomicFuVersion")
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")
2020-02-07 11:05:12 +08:00
implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:$serializationVersion")
2019-11-17 12:52:48 +08:00
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'
2020-02-12 20:47:21 +08:00
api 'org.jsoup:jsoup:1.12.1'
2019-10-26 17:06:40 +08:00
}
2019-11-08 21:17:25 +08:00
2020-02-03 18:10:24 +08:00
run{
standardInput = System.in
mainClassName = "demo.gentleman.MainKt"
}
2019-11-15 10:39:00 +08:00
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-XXLanguage:+InlineClasses"]
}
2020-02-03 18:10:24 +08:00
}