Skip to content

Commit 846652b

Browse files
authored
chore: Migrate from nexus2 to mavenCentral (#7150)
1 parent f3cccff commit 846652b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

codegen/build.gradle.kts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ plugins {
2222
checkstyle
2323
jacoco
2424
id("com.github.spotbugs") version "4.7.1"
25-
id("org.jreleaser") version "1.9.0"
25+
id("org.jreleaser") version "1.18.0"
2626
}
2727

2828
allprojects {
@@ -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)