22ext[" signing.keyId" ] = ' '
33ext[" signing.key" ] = ' '
44ext[" signing.password" ] = ' '
5- ext[" ossrhUsername " ] = ' '
6- ext[" ossrhPassword " ] = ' '
5+ ext[" centralUsername " ] = ' '
6+ ext[" centralPassword " ] = ' '
77ext[" sonatypeStagingProfileId" ] = ' '
88
99File secretPropsFile = file(' ./local.properties' )
@@ -14,8 +14,8 @@ if (secretPropsFile.exists()) {
1414 p. each { name , value -> ext[name] = value }
1515} else {
1616 // Use system environment variables
17- ext[" ossrhUsername " ] = System . getenv(' ANDROID_OSSRH_USERNAME ' )
18- ext[" ossrhPassword " ] = System . getenv(' ANDROID_OSSRH_PASSWORD ' )
17+ ext[" centralUsername " ] = System . getenv(' ANDROID_CENTRAL_USERNAME ' )
18+ ext[" centralPassword " ] = System . getenv(' ANDROID_CENTRAL_PASSWORD ' )
1919 ext[" sonatypeStagingProfileId" ] = System . getenv(' ANDROID_SONATYPE_STAGING_PROFILE_ID' )
2020 ext[" signing.keyId" ] = System . getenv(' ANDROID_SIGNING_KEY_ID' )
2121 ext[" signing.key" ] = System . getenv(' ANDROID_SIGNING_KEY' )
@@ -27,10 +27,10 @@ nexusPublishing {
2727 repositories {
2828 sonatype {
2929 stagingProfileId = sonatypeStagingProfileId
30- username = ossrhUsername
31- password = ossrhPassword
32- nexusUrl. set(uri(" https://s01.oss .sonatype.org /service/local/" ))
33- snapshotRepositoryUrl. set(uri(" https://s01.oss. sonatype.org/content/repositories/ snapshots/" ))
30+ username = centralUsername
31+ password = centralPassword
32+ nexusUrl. set(uri(" https://ossrh-staging-api.central .sonatype.com /service/local/" ))
33+ snapshotRepositoryUrl. set(uri(" https://central. sonatype.com/repository/maven- snapshots/" ))
3434 }
3535 }
3636 repositoryDescription = ' Ionic Portals v' + System . getenv(' PORTALS_VERSION' )
0 commit comments