From f11754e2830df788af74e14a5913575608dbfd4c Mon Sep 17 00:00:00 2001 From: malte0811 Date: Sat, 20 Jan 2024 12:44:06 +0100 Subject: [PATCH] Fix build when no signing keys are present --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") }