Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoii committed Dec 20, 2022
1 parent 090b837 commit d9a5f7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("io.codearte.nexus-staging") version "0.30.0"
id("me.him188.maven-central-publish") version "1.0.0-dev-3" // to retrieve credentials
id("net.mamoe.mirai-console") version "2.13.2" apply false
}

buildscript {
Expand Down Expand Up @@ -35,6 +36,10 @@ allprojects {
}
}

subprojects {
plugins.apply("net.mamoe.mirai-console")
}

nexusStaging {
packageGroup = "net.mamoe" // from Sonatype accounts, do not change
username = mavenCentralPublish.credentials?.sonatypeUsername
Expand Down
1 change: 0 additions & 1 deletion mirai-api-http-spi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ plugins {
kotlin("jvm")
kotlin("plugin.serialization")
id("kotlinx-atomicfu")
id("net.mamoe.mirai-console") version "2.13.2"
id("me.him188.maven-central-publish")
}

Expand Down
3 changes: 1 addition & 2 deletions mirai-api-http/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ plugins {
kotlin("jvm")
kotlin("plugin.serialization")
id("kotlinx-atomicfu")
id("net.mamoe.mirai-console") version "2.13.2"
id("me.him188.maven-central-publish")
}

Expand All @@ -24,7 +23,7 @@ dependencies {
ktorImplementation("client-okhttp")
ktorImplementation("client-websockets")

implementation("net.mamoe.yamlkt:yamlkt:0.12.0")
compileOnly("net.mamoe.yamlkt:yamlkt:0.12.0")
implementation("org.slf4j:slf4j-simple:1.7.32")

// test
Expand Down

0 comments on commit d9a5f7c

Please sign in to comment.