SignJar oof

This commit is contained in:
Tschipp 2020-05-05 10:42:01 +02:00
parent 07426f8acd
commit 13313270cf
2 changed files with 6 additions and 6 deletions

2
Jenkinsfile vendored
View File

@ -26,4 +26,4 @@ pipeline {
archive 'build/libs/**.jar'
}
}
}
}

View File

@ -157,16 +157,16 @@ task signJar(type: SignJar, dependsOn: reobfJar) {
// Skips if the keyStore property is missing.
onlyIf {
project.hasProperty('keyStore')
project.hasProperty('modkeyStore')
}
// findProperty allows us to reference the property without it existing.
// Using project.propName would cause the script to fail validation if
// the property did not exist.
keyStore = project.findProperty('keyStore')
alias = project.findProperty('keyStoreAlias')
storePass = project.findProperty('keyStorePass')
keyPass = project.findProperty('keyStoreKeyPass')
keyStore = project.findProperty('modkeyStore')
alias = project.findProperty('modkeyStoreAlias')
storePass = project.findProperty('modkeyStorePass')
keyPass = project.findProperty('modkeyStoreKeyPass')
inputFile = jar.archivePath
outputFile = jar.archivePath
}