Skip to content

Commit

Permalink
only sign if the signing properties are present
Browse files Browse the repository at this point in the history
  • Loading branch information
aSemy committed Aug 23, 2022
1 parent 4139fa2 commit 9784ce2
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 9784ce2

Please sign in to comment.