Skip to content

Commit ba15087

Browse files
authored
Use JReleaser 'MavenCentral' deployer for releases (#785)
Nexus2 deployer is sunsetting on June 30th
1 parent 3885faa commit ba15087

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,10 @@ jreleaser {
6464
// https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle
6565
deploy {
6666
maven {
67-
nexus2 {
67+
mavenCentral {
6868
create("maven-central") {
6969
active = Active.ALWAYS
70-
url = "https://aws.oss.sonatype.org/service/local"
71-
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
72-
closeRepository.set(true)
73-
releaseRepository.set(true)
74-
verifyPom.set(true)
70+
url = "https://central.sonatype.com/api/v1/publisher"
7571
stagingRepository(rootProject.layout.buildDirectory.dir("staging").get().asFile.path)
7672
}
7773
}

0 commit comments

Comments
 (0)