diff --git a/codegen/build.gradle.kts b/codegen/build.gradle.kts index 496d422f21c0..cfa847bb2a7f 100644 --- a/codegen/build.gradle.kts +++ b/codegen/build.gradle.kts @@ -22,7 +22,7 @@ plugins { checkstyle jacoco id("com.github.spotbugs") version "4.7.1" - id("org.jreleaser") version "1.9.0" + id("org.jreleaser") version "1.18.0" } allprojects { @@ -284,13 +284,10 @@ jreleaser { // https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle deploy { maven { - nexus2 { + mavenCentral { create("maven-central") { active = Active.ALWAYS - url = "https://aws.oss.sonatype.org/service/local" - snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots" - closeRepository.set(true) - releaseRepository.set(true) + url = "https://central.sonatype.com/api/v1/publisher" stagingRepositories.add("${rootProject.buildDir}/staging") } }