Update core dependencies

This commit is contained in:
Him188 2020-04-12 20:06:04 +08:00
parent 98e52f0c63
commit 2246d906c6
3 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,7 @@ import org.gradle.kotlin.dsl.DependencyHandlerScope
object Versions {
object Mirai {
const val core = "0.34.0"
const val core = "0.37.1"
const val console = "0.4.8"
const val consoleGraphical = "0.0.7"
const val consoleWrapper = "0.2.0"

View File

@ -50,7 +50,7 @@ bintray {
}
dependencies {
compileOnly("net.mamoe:mirai-core-jvm:${Versions.Mirai.core}")
compileOnly("net.mamoe:mirai-core:${Versions.Mirai.core}")
implementation(project(":mirai-console"))
api(group = "no.tornado", name = "tornadofx", version = "1.7.19")
@ -59,7 +59,8 @@ dependencies {
testApi(project(":mirai-console"))
testApi(kotlinx("coroutines-core", Versions.Kotlin.coroutines))
testApi(group = "org.yaml", name = "snakeyaml", version = "1.25")
testApi("net.mamoe:mirai-core-jvm:${Versions.Mirai.core}")
testApi("net.mamoe:mirai-core:${Versions.Mirai.core}")
testApi("net.mamoe:mirai-core-qqandroid:${Versions.Mirai.core}")
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {

View File

@ -22,7 +22,7 @@ kotlin {
}
}
dependencies {
compileOnly("net.mamoe:mirai-core-jvm:${Versions.Mirai.core}")
compileOnly("net.mamoe:mirai-core:${Versions.Mirai.core}")
compileOnly(kotlin("stdlib")) // embedded by core
api("com.google.code.gson:gson:2.8.6")
@ -30,7 +30,7 @@ dependencies {
api(group = "com.moandjiezana.toml", name = "toml4j", version = "0.7.2")
api("org.jsoup:jsoup:1.12.1")
testApi("net.mamoe:mirai-core-qqandroid-jvm:${Versions.Mirai.core}")
testApi("net.mamoe:mirai-core-qqandroid:${Versions.Mirai.core}")
testApi(kotlin("stdlib"))
}