File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ if [[ "$CMD" == "release" ]]; then
196196 gradle_task=" java-client:publishAllPublicationsToBuildRepository"
197197 else
198198 echo " Releasing to Maven snapshot repo"
199- gradle_task=" java-client:publishAllPublicationsToMavenCentralSnapshotRepository "
199+ gradle_task=" java-client:publishAllPublicationsToMavenCentralRepository "
200200 fi
201201 docker run --rm --env VERSION=$VERSION -u " $( id -u) " \
202202 $git_mount $src_mount $output_mount \
Original file line number Diff line number Diff line change @@ -137,11 +137,11 @@ publishing {
137137 }
138138
139139 maven {
140- name = " MavenCentralSnapshot "
141- url = uri(" https://oss.sonatype.org/content/repositories/snapshots /" )
140+ name = " MavenCentral "
141+ url = uri(" https://oss.sonatype.org/service/local/staging/deploy/maven2 /" )
142142 credentials {
143143 run {
144- if (gradle.startParameter.taskNames.find { it.contains(" ToMavenCentralSnapshotRepository " ) } != null ) {
144+ if (gradle.startParameter.taskNames.find { it.contains(" ToMavenCentralRepository " ) } != null ) {
145145 if (! providers.gradleProperty(" ossrhUsername" ).isPresent) logger.error(" ossrhUsername not set" )
146146 if (! providers.gradleProperty(" ossrhPassword" ).isPresent) logger.error(" ossrhPassword not set" )
147147 }
You can’t perform that action at this time.
0 commit comments