Skip to content

Commit 1c0a951

Browse files
committed
Fix Snapshot publishing
1 parent ba6df83 commit 1c0a951

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,10 @@ tasks.named("asciidoctor") {
373373
nexusPublishing {
374374
packageGroup = 'org.spockframework'
375375
repositories {
376+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
376377
sonatype {
378+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
379+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
377380
username = System.getenv("SONATYPE_OSS_USER")
378381
password = System.getenv("SONATYPE_OSS_PASSWORD")
379382
}

0 commit comments

Comments
 (0)