Skip to content

Commit

Permalink
Fix build when no signing keys are present
Browse files Browse the repository at this point in the history
  • Loading branch information
malte0811 committed Jan 20, 2024
1 parent d313e47 commit f11754e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit f11754e

Please sign in to comment.