potential fix for build issues

This commit is contained in:
InsanusMokrassar 2022-01-04 19:33:47 +06:00
parent ffdf808a89
commit a1c2e48622

View File

@ -1,5 +1,4 @@
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
apply plugin: 'signing'
task javadocsJar(type: Jar) { task javadocsJar(type: Jar) {
classifier = 'javadoc' classifier = 'javadoc'
@ -63,7 +62,11 @@ publishing {
} }
} }
if (System.getProperty("signatory.keyId") != null) {
apply plugin: 'signing'
signing { signing {
useGpgCmd() useGpgCmd()
sign publishing.publications sign publishing.publications
} }
}