From 2246d906c63bfdde452d1913b1c192fb55cf38e9 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 12 Apr 2020 20:06:04 +0800 Subject: [PATCH] Update core dependencies --- buildSrc/src/main/kotlin/versions.kt | 2 +- mirai-console-graphical/build.gradle.kts | 5 +++-- mirai-console/build.gradle.kts | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/buildSrc/src/main/kotlin/versions.kt b/buildSrc/src/main/kotlin/versions.kt index 2f8b883ae..ed00681bb 100644 --- a/buildSrc/src/main/kotlin/versions.kt +++ b/buildSrc/src/main/kotlin/versions.kt @@ -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" diff --git a/mirai-console-graphical/build.gradle.kts b/mirai-console-graphical/build.gradle.kts index f82af1251..c56bcf821 100644 --- a/mirai-console-graphical/build.gradle.kts +++ b/mirai-console-graphical/build.gradle.kts @@ -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 { diff --git a/mirai-console/build.gradle.kts b/mirai-console/build.gradle.kts index ca6f8530d..126d48652 100644 --- a/mirai-console/build.gradle.kts +++ b/mirai-console/build.gradle.kts @@ -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")) }