mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-15 21:10:14 +08:00
Update build.gradle.kts
This commit is contained in:
parent
4d69ae617f
commit
5e95348bae
@ -25,10 +25,23 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var debugging = true
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly(project(":mirai-console"))
|
fun import0(dep: Any) {
|
||||||
compileOnly("net.mamoe:mirai-core:${Versions.Mirai.core}")
|
if (debugging) {
|
||||||
compileOnly(kotlin("stdlib")) // embedded by core
|
implementation(dep)
|
||||||
|
} else {
|
||||||
|
compileOnly(dep)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import0("org.jline:jline:3.15.0")
|
||||||
|
import0("org.fusesource.jansi:jansi:1.18")
|
||||||
|
|
||||||
|
import0(project(":mirai-console"))
|
||||||
|
import0("net.mamoe:mirai-core:${Versions.Mirai.core}")
|
||||||
|
import0(kotlin("stdlib")) // embedded by core
|
||||||
|
|
||||||
testApi("net.mamoe:mirai-core-qqandroid:${Versions.Mirai.core}")
|
testApi("net.mamoe:mirai-core-qqandroid:${Versions.Mirai.core}")
|
||||||
testApi(project(":mirai-console"))
|
testApi(project(":mirai-console"))
|
||||||
|
Loading…
Reference in New Issue
Block a user