Fix file merge error

This commit is contained in:
JackCarterSmith 2019-06-02 22:38:08 +02:00
parent b52b170375
commit 4b730b235f

View File

@ -130,20 +130,3 @@ processResources {
exclude "mcmod.info" exclude "mcmod.info"
} }
} }
task signJar(type: SignJar, dependsOn: reobfJar) {
onlyIf { // Skip the task if our secret data isn't available
project.hasProperty('keyStore')
}
dependsOn reobfJar
if (project.hasProperty('keyStore')) { // This needs to be a path to the keystore file
keyStore = project.keyStore
alias = project.keyStoreAlias
storePass = project.keyStorePass
keyPass = project.keyStoreKeyPass
inputFile = jar.archivePath
outputFile = jar.archivePath
}
}
build.dependsOn signJar