diff --git a/build.gradle b/build.gradle index 7c465a3434..5c7d159e39 100644 --- a/build.gradle +++ b/build.gradle @@ -141,13 +141,13 @@ if (customGradle.exists()) { } task signJar(type: PotentiallySignJar) { + input = shadowJar.archiveFile + output = jar.archiveFile if (project.hasProperty('keyStore')) { keyStore = project.keyStore alias = project.storeAlias storePass = project.storePass keyPass = project.storePass - input = shadowJar.archiveFile - output = jar.archiveFile } else { logger.warn("No key store found, not signing the output jar\n") }