Skip to content

Commit

Permalink
Merge pull request #885 from aSemy/dynamic-enable-signing
Browse files Browse the repository at this point in the history
only sign if the signing properties are present
  • Loading branch information
Raibaz committed Aug 23, 2022
2 parents 07be76d + 9784ce2 commit bee2223
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -72,7 +72,9 @@ publishing {

artifact(tasks.provider<Jar>("javadocJar"))

signing.sign(this)
if (signingKeyId.isPresent() && signingKey.isPresent() && signingPassword.isPresent()) {
signing.sign(this)
}
}
}

Expand Down

0 comments on commit bee2223

Please sign in to comment.