Attempt to fix build 2
@@ -96,11 +96,7 @@ task apiJar(type: Jar, dependsOn: 'sourceMainJava') {
classifier 'api'
}
-task signJar(type: SignJar, dependsOn: reobfJar) {
- onlyIf {
- project.hasProperty('keyStore')
- }
-
+task signJar(type: SignJar, dependsOn: reobfJar, onlyIf: project.hasProperty('keyStore')) {
keyStore = project.property('keyStore')
alias = project.property('keyStoreAlias')
storePass = project.property('keyStorePass')
