Skip to content

Commit 7260b57

Browse files
committed
Migarte from nexus2 to maven central
1 parent 1308a1e commit 7260b57

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
@@ -279,13 +279,10 @@ jreleaser {
279279
// https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle
280280
deploy {
281281
maven {
282-
nexus2 {
282+
mavenCentral {
283283
create("maven-central") {
284284
active = Active.ALWAYS
285-
url = "https://aws.oss.sonatype.org/service/local"
286-
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
287-
closeRepository.set(true)
288-
releaseRepository.set(true)
285+
url = "https://central.sonatype.com/api/v1/publisher"
289286
stagingRepositories.add("${rootProject.buildDir}/staging")
290287
}
291288
}

0 commit comments

Comments
 (0)