Skip to content

Commit 823534a

Browse files
committed
fixup! Library maven publish
1 parent 87d03aa commit 823534a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

publish-mavencentral.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ version = PUBLISH_VERSION
2323
ext["signing.keyId"] = ''
2424
ext["signing.password"] = ''
2525
ext["signing.secretKeyRingFile"] = ''
26-
ext["ossrhUsername"] = 'abc'
27-
ext["ossrhPassword"] = 'def'
28-
ext["sonatypeStagingProfileId"] = 'ghi'
26+
ext["ossrhUsername"] = ''
27+
ext["ossrhPassword"] = ''
28+
ext["sonatypeStagingProfileId"] = ''
2929

3030
File secretPropsFile = project.rootProject.file('local.properties')
3131
if (secretPropsFile.exists()) {
@@ -38,9 +38,9 @@ if (secretPropsFile.exists()) {
3838
ext["signing.keyId"] = System.getenv('SIGNING_KEY_ID')
3939
ext["signing.password"] = System.getenv('SIGNING_PASSWORD')
4040
ext["signing.secretKeyRingFile"] = System.getenv('SIGNING_SECRET_KEY_RING_FILE')
41-
ext["ossrhUsername"] = 'abc' //System.getenv('OSSRH_USERNAME')
42-
ext["ossrhPassword"] = 'abc' //System.getenv('OSSRH_PASSWORD')
43-
ext["sonatypeStagingProfileId"] = "xxx" //System.getenv('SONATYPE_STAGING_PROFILE_ID')
41+
ext["ossrhUsername"] = System.getenv('OSSRH_USERNAME')
42+
ext["ossrhPassword"] = System.getenv('OSSRH_PASSWORD')
43+
ext["sonatypeStagingProfileId"] = System.getenv('SONATYPE_STAGING_PROFILE_ID')
4444
}
4545

4646
publishing {

0 commit comments

Comments
 (0)