From d949d5f66c967572d82e01d3390fa3b5009deef9 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Mon, 29 Jan 2024 23:01:03 +0800 Subject: [PATCH] =?UTF-8?q?core=E6=A8=A1=E5=9D=97=E5=B0=86=E5=AF=B9=20simb?= =?UTF-8?q?ot-api=20=E7=9A=84=E5=BC=95=E7=94=A8=E8=B0=83=E6=95=B4=E4=B8=BA?= =?UTF-8?q?=20compileOnly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildSrc/src/main/kotlin/P.kt | 2 +- simbot-component-qq-guild-core/build.gradle.kts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/P.kt b/buildSrc/src/main/kotlin/P.kt index d98a5e74..37e948dd 100644 --- a/buildSrc/src/main/kotlin/P.kt +++ b/buildSrc/src/main/kotlin/P.kt @@ -59,7 +59,7 @@ object P { override val homepage: String get() = HOMEPAGE - private val baseVersion = v(4, 0, 0) - v("dev7") + private val baseVersion = v(4, 0, 0) - v("dev8") val snapshotVersion = baseVersion - Version.SNAPSHOT override val version = if (isSnapshot()) snapshotVersion else baseVersion diff --git a/simbot-component-qq-guild-core/build.gradle.kts b/simbot-component-qq-guild-core/build.gradle.kts index eb4c1bac..aa763275 100644 --- a/simbot-component-qq-guild-core/build.gradle.kts +++ b/simbot-component-qq-guild-core/build.gradle.kts @@ -57,7 +57,7 @@ kotlin { sourceSets { commonMain.dependencies { - api(libs.simbot.api) + compileOnly(libs.simbot.api) api(project(":simbot-component-qq-guild-stdlib")) compileOnly(libs.simbot.common.annotations) // ktor @@ -88,10 +88,12 @@ kotlin { } jsMain.dependencies { + implementation(libs.simbot.api) api(libs.simbot.common.annotations) } nativeMain.dependencies { + implementation(libs.simbot.api) api(libs.simbot.common.annotations) }