Skip to content

Commit b687d36

Browse files
committedMay 1, 2024·
Use property instead.
1 parent 2db3beb commit b687d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎gradle-mvn-push.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ signing {
3535
// Only sign releases; snapshots are unsigned.
3636
tasks.withType(Sign).configureEach {
3737
onlyIf {
38-
!isSnapshot && gradle.taskGraph.hasTask("publish")
38+
!isSnapshot && project.hasProperty("release")
3939
}
4040
}

0 commit comments

Comments
 (0)
Please sign in to comment.