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'
@ -20,22 +19,22 @@ publishing {
} }
developers { developers {
developer { developer {
id = "InsanusMokrassar" id = "InsanusMokrassar"
name = "Ovsiannikov Aleksei" name = "Ovsiannikov Aleksei"
email = "ovsyannikov.alexey95@gmail.com" email = "ovsyannikov.alexey95@gmail.com"
} }
} }
licenses { licenses {
license { license {
name = "MIT License" name = "MIT License"
url = "https://opensource.org/licenses/MIT" url = "https://opensource.org/licenses/MIT"
} }
} }
} }
repositories { repositories {
@ -63,7 +62,11 @@ publishing {
} }
} }
signing { if (System.getProperty("signatory.keyId") != null) {
useGpgCmd() apply plugin: 'signing'
sign publishing.publications
signing {
useGpgCmd()
sign publishing.publications
}
} }