diff --git a/build.gradle b/build.gradle index 0423e62..2e214ff 100644 --- a/build.gradle +++ b/build.gradle @@ -97,8 +97,8 @@ publishing { } signing { - def signingKey = findProperty("signingKey") ?: System.getenv("GPG_KEY") - def signingPassword = findProperty("signingPassword") ?: System.getenv("GPG_KEY_PASSWORD") + def signingKey = System.getenv("GPG_KEY") + def signingPassword = System.getenv("GPG_KEY_PASSWORD") useInMemoryPgpKeys(signingKey, signingPassword) sign publishing.publications.mavenJava @@ -106,8 +106,8 @@ signing { nmcp { publishAllProjectsProbablyBreakingProjectIsolation { - username = findProperty("sonatypeUsername") ?: System.getenv("SONATYPE_USERNAME") - password = findProperty("sonatypePassword") ?: System.getenv("SONATYPE_PASSWORD") + username = System.getenv("SONATYPE_USERNAME") + password = System.getenv("SONATYPE_PASSWORD") publicationType = "AUTOMATIC" } }