Skip to content

Commit 34f53ef

Browse files
committed
Switched publishing to the new Sonatype OSS repository
which required an update of the Gradle Nexus publish plugin to version 2.0.0.
1 parent 87025cc commit 34f53ef

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
id 'signing'
1212
id 'eclipse'
1313
id 'maven-publish'
14-
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
14+
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
1515
id 'project-report'
1616
}
1717

@@ -142,7 +142,10 @@ test.dependsOn prepareTestConfiguration
142142

143143
nexusPublishing {
144144
repositories {
145-
sonatype()
145+
sonatype {
146+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
147+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
148+
}
146149
}
147150
}
148151

0 commit comments

Comments
 (0)