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

View File

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