File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -195,12 +195,9 @@ publishing {
195195 repositories {
196196 maven {
197197 name = ' sonatype'
198- credentials {
199- username System . getenv(' SONATYPE_USER' )
200- password System . getenv(' SONATYPE_PASSWORD' )
201- }
202- def releasesRepoUrl = " https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
203- def snapshotsRepoUrl = " https://s01.oss.sonatype.org/content/repositories/snapshots/"
198+ credentials(PasswordCredentials )
199+ def releasesRepoUrl = " https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
200+ def snapshotsRepoUrl = " https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
204201 url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
205202 }
206203 }
You can’t perform that action at this time.
0 commit comments