Skip to content

Commit 2304520

Browse files
committed
Migrate from nexus2 to mavenCentral deployer
1 parent 79e64ac commit 2304520

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,10 @@ configure<JReleaserExtension> {
7979
// https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle
8080
deploy {
8181
maven {
82-
nexus2 {
82+
mavenCentral {
8383
create("maven-central") {
8484
active = Active.ALWAYS
85-
url = "https://aws.oss.sonatype.org/service/local"
86-
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
87-
closeRepository = true
88-
releaseRepository = true
85+
url = "https://central.sonatype.com/api/v1/publisher"
8986
stagingRepository(stagingDir().get().asFile.path)
9087
}
9188
}

0 commit comments

Comments
 (0)