File tree 2 files changed +4
-4
lines changed 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
196
196
gradle_task=" java-client:publishAllPublicationsToBuildRepository"
197
197
else
198
198
echo " Releasing to Maven snapshot repo"
199
- gradle_task=" java-client:publishAllPublicationsToMavenCentralSnapshotRepository "
199
+ gradle_task=" java-client:publishAllPublicationsToMavenCentralRepository "
200
200
fi
201
201
docker run --rm --env VERSION=$VERSION -u " $( id -u) " \
202
202
$git_mount $src_mount $output_mount \
Original file line number Diff line number Diff line change @@ -137,11 +137,11 @@ publishing {
137
137
}
138
138
139
139
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 /" )
142
142
credentials {
143
143
run {
144
- if (gradle.startParameter.taskNames.find { it.contains(" ToMavenCentralSnapshotRepository " ) } != null ) {
144
+ if (gradle.startParameter.taskNames.find { it.contains(" ToMavenCentralRepository " ) } != null ) {
145
145
if (! providers.gradleProperty(" ossrhUsername" ).isPresent) logger.error(" ossrhUsername not set" )
146
146
if (! providers.gradleProperty(" ossrhPassword" ).isPresent) logger.error(" ossrhPassword not set" )
147
147
}
You can’t perform that action at this time.
0 commit comments