Skip to content

Commit

Permalink
Merge pull request #114 from simple-robot/dev/compileOnly-api
Browse files Browse the repository at this point in the history
core模块将对 simbot-api 的引用调整为 compileOnly
  • Loading branch information
ForteScarlet authored Jan 29, 2024
2 parents 81e9d8c + d949d5f commit 40f2543
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/P.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion simbot-component-qq-guild-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}

Expand Down

0 comments on commit 40f2543

Please sign in to comment.