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'
|
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.
|
// 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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user