Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into ci
Browse files Browse the repository at this point in the history
# Conflicts:
#	mirai-api-http-spi/build.gradle.kts
  • Loading branch information
ryoii committed Feb 11, 2023
2 parents 556bf78 + a0157c4 commit 6285e63
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ allprojects {
}
}

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

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

Expand All @@ -26,6 +27,7 @@ tasks {
}

tasks.register("buildSpi", Jar::class) {
dependsOn("jar")
doLast {
val jarTask = tasks.getByName("jar", Jar::class)
val buildPluginFile = jarTask.archiveFile.get().asFile
Expand All @@ -42,7 +44,4 @@ mavenCentralPublish {
githubProject("project-mirai", "mirai-api-http-spi")
licenseFromGitHubProject("licenseAgplv3", "master")
developer("Mamoe Technologies")
publication {
artifact(tasks.getByName("buildSpi"))
}
}
1 change: 1 addition & 0 deletions mirai-api-http/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
kotlin("jvm")
kotlin("plugin.serialization")
id("kotlinx-atomicfu")
id("net.mamoe.mirai-console")
id("me.him188.maven-central-publish")
}

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ pluginManagement {

rootProject.name = "mirai-api-http"

include(":mirai-api-http-spi")
include(":mirai-api-http")
include("mirai-api-http-spi")

0 comments on commit 6285e63

Please sign in to comment.