Skip to content

Commit

Permalink
TECH: 🔍 Move fake secrets to local.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma committed Nov 22, 2022
1 parent aedc198 commit 13dc4f2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions scripts/publish-root.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
// Create variables with empty default values
ext["ossrhUsername"] = ''
ext["ossrhPassword"] = ''
ext["sonatypeStagingProfileId"] = ''
ext["signing.keyId"] = '0C762F0D'
ext["signing.password"] = 'dsLCfZhaoHbgqgNeRHuAY'
ext["signing.secretKeyRingFile"] = '../secret.gpg'

File secretPropsFile = project.rootProject.file('local.properties')
if (secretPropsFile.exists()) {
// Read local.properties file first if it exists
Expand Down Expand Up @@ -33,4 +25,4 @@ nexusPublishing {
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}
}

0 comments on commit 13dc4f2

Please sign in to comment.