SignJar oof
This commit is contained in:
parent
07426f8acd
commit
13313270cf
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
|
@ -26,4 +26,4 @@ pipeline {
|
|||
archive 'build/libs/**.jar'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
10
build.gradle
10
build.gradle
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user