Skip to content

Commit 5081ce2

Browse files
committed
Try another way for sonatype central portal
1 parent a194813 commit 5081ce2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,5 +208,14 @@ if (project.hasProperty("releaseMode")) {
208208
sign(publishing.publications)
209209
}
210210
}
211+
212+
import com.vanniktech.maven.publish.SonatypeHost
213+
214+
mavenPublishing {
215+
// or when publishing to https://central.sonatype.com/
216+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
217+
218+
// signAllPublications()
219+
}
211220
}
212221
}

gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,3 @@ POM_DEVELOPER_ID=akarnokd
2222
POM_DEVELOPER_NAME=David Karnok
2323
POM_DEVELOPER_URL=https://github.com/akarnokd/
2424
POM_DEVELOPER_EMAIL[email protected]
25-
26-
SONATYPE_HOST=CENTRAL_PORTAL

0 commit comments

Comments
 (0)