File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,6 @@ allprojects {
3636 }
3737}
3838
39- subprojects {
40- plugins.apply (" net.mamoe.mirai-console" )
41- }
42-
4339nexusStaging {
4440 packageGroup = " net.mamoe" // from Sonatype accounts, do not change
4541 username = mavenCentralPublish.credentials?.sonatypeUsername
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
22 kotlin(" jvm" )
33 kotlin(" plugin.serialization" )
44 id(" kotlinx-atomicfu" )
5+ id(" net.mamoe.mirai-console" )
56 id(" me.him188.maven-central-publish" )
67}
78
@@ -26,6 +27,7 @@ tasks {
2627}
2728
2829tasks.register(" buildSpi" , Jar ::class ) {
30+ dependsOn(" jar" )
2931 doLast {
3032 val jarTask = tasks.getByName(" jar" , Jar ::class )
3133 val buildPluginFile = jarTask.archiveFile.get().asFile
@@ -42,7 +44,4 @@ mavenCentralPublish {
4244 githubProject(" project-mirai" , " mirai-api-http-spi" )
4345 licenseFromGitHubProject(" licenseAgplv3" , " master" )
4446 developer(" Mamoe Technologies" )
45- publication {
46- artifact(tasks.getByName(" buildSpi" ))
47- }
4847}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ plugins {
44 kotlin(" jvm" )
55 kotlin(" plugin.serialization" )
66 id(" kotlinx-atomicfu" )
7+ id(" net.mamoe.mirai-console" )
78 id(" me.him188.maven-central-publish" )
89}
910
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ pluginManagement {
1010
1111rootProject.name = " mirai-api-http"
1212
13+ include(" :mirai-api-http-spi" )
1314include(" :mirai-api-http" )
14- include(" mirai-api-http-spi" )
You can’t perform that action at this time.
0 commit comments