Skip to content

Commit

Permalink
Do not sign snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayssam Saleh authored and Hayssam Saleh committed Jun 4, 2024
1 parent bb1be25 commit 1e0524d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -449,5 +449,10 @@ tasks.register('upload') {
}
}

signing {
required { !version.endsWith("SNAPSHOT") && gradle.taskGraph.hasTask("publish") }
sign publishing.publications.mavenJava
}



0 comments on commit 1e0524d

Please sign in to comment.