We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7525ba7 commit eede314Copy full SHA for eede314
1 file changed
build.gradle
@@ -66,10 +66,8 @@ publishing {
66
}
67
repositories {
68
maven {
69
- name = 'OSSRH'
70
- def releasesUrl = uri('https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/')
71
- def snapshotsUrl = uri('https://s01.oss.sonatype.org/content/repositories/snapshots/')
72
- url = version.toString().endsWith('SNAPSHOT') ? snapshotsUrl : releasesUrl
+ name = 'CentralPortal'
+ url = uri('https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/')
73
credentials {
74
username = System.getenv('OSSRH_USERNAME') ?: ''
75
password = System.getenv('OSSRH_PASSWORD') ?: ''
0 commit comments