Skip to content

Commit 540f1bf

Browse files
committed
chore: migrate from nexus2 to mavenCentral
1 parent f3cccff commit 540f1bf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

codegen/build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,10 @@ jreleaser {
284284
// https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle
285285
deploy {
286286
maven {
287-
nexus2 {
287+
mavenCentral {
288288
create("maven-central") {
289289
active = Active.ALWAYS
290-
url = "https://aws.oss.sonatype.org/service/local"
291-
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
292-
closeRepository.set(true)
293-
releaseRepository.set(true)
290+
url = "https://central.sonatype.com/api/v1/publisher"
294291
stagingRepositories.add("${rootProject.buildDir}/staging")
295292
}
296293
}

0 commit comments

Comments
 (0)