Skip to content

Commit

Permalink
EPNG-7964 - gradle properties were not set properly and could not be …
Browse files Browse the repository at this point in the history
…used used by `com.bmuschko:gradle-nexus-plugin`
  • Loading branch information
Lukas Spalek committed Mar 10, 2021
1 parent 69d4ffd commit bbbfbd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ allprojects {

println "Key is null: ${signingKeyId == null} "

def file = new File(signingSecretKeyRingFile)

print "File exists: ${file.exists()}"

if (!nexusUsername || !nexusPassword) {
throw new RuntimeException("nexusUsername and/or nexusPassword are not defined environment variables")
}
Expand All @@ -53,7 +57,7 @@ allprojects {
project.ext."nexusPassword" = nexusPassword
project.ext."signing.keyId" = signingKeyId
project.ext."signing.password" = signingPassword
project.ext."signing.secretKeyRingFile" = "secret-keys.gpg"
project.ext."signing.secretKeyRingFile" = "../secret-keys.gpg"
}

nexusStaging {
Expand Down

0 comments on commit bbbfbd4

Please sign in to comment.