File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed
Expand file tree Collapse file tree 4 files changed +4
-9
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,7 +27,7 @@ tasks {
2627}
2728
2829tasks.register(" buildSpi" , Jar ::class ) {
29- dependsOn(" build " )
30+ dependsOn(" jar " )
3031 doLast {
3132 val jarTask = tasks.getByName(" jar" , Jar ::class )
3233 val buildPluginFile = jarTask.archiveFile.get().asFile
@@ -43,7 +44,4 @@ mavenCentralPublish {
4344 githubProject(" project-mirai" , " mirai-api-http-spi" )
4445 licenseFromGitHubProject(" licenseAgplv3" , " master" )
4546 developer(" Mamoe Technologies" )
46- publication {
47- artifact(tasks.getByName(" buildSpi" ))
48- }
4947}
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