diff --git a/checksum.xml b/checksum.xml index bb78ddb11f..ce1b3fa771 100644 --- a/checksum.xml +++ b/checksum.xml @@ -222,6 +222,7 @@ + 4FD71D2654435626B5FC1D5FB47809D322D9AC3AEDE1A45D1A45070B1820C922522C7D1586CD1C074F3F27D9E73C8F51F554AEE0F07A08ECB6593CAF0638825D 6CB83B6D5054C63C13AF5FD39F11065556137EDD423385F5D960A656FAFDDF5A5DDCCD1DDEDDAFDCBD511D0FEF005C58FAC9E3FB0BDF1D469AF24450DFBC2325 F8FEFDB21CB04D9C229D3C27DC03BDF141A943AED99D29B1349CAFB10758901AE8A564C0C00FF55F574D1CBCE4BEF9E33B6F6CF92B8ABD31A8D98009870DB800 diff --git a/gradle/publish.gradle b/gradle/publish.gradle index aa4efc9ec0..a456b24941 100644 --- a/gradle/publish.gradle +++ b/gradle/publish.gradle @@ -66,9 +66,12 @@ publishing { signing { // https://github.com/gradle/gradle/issues/11387 required { false } - if (version.releaseBuild) { - sign publishing.publications.mavenJava - } + + def signingKey = findProperty("signingKey") + def signingKeyId = findProperty("signingKeyId") + def signingPassword = findProperty("signingPassword") + useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) + sign publishing.publications.mavenJava } javadoc {