Skip to content

Commit

Permalink
Use property instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst committed May 1, 2024
1 parent 2db3beb commit b687d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ signing {
// Only sign releases; snapshots are unsigned.
tasks.withType(Sign).configureEach {
onlyIf {
!isSnapshot && gradle.taskGraph.hasTask("publish")
!isSnapshot && project.hasProperty("release")
}
}

0 comments on commit b687d36

Please sign in to comment.