Skip to content

Commit

Permalink
Skip signing when publishing to snapshot repository
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Dec 27, 2024
1 parent f2c5633 commit 65abd3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ tasks.withType(Javadoc).configureEach {

tasks.withType(Sign).configureEach {
onlyIf("not publishing to local Maven repository") {
!gradle.startParameter.taskNames.any { it == 'publishToMavenLocal' }
!gradle.startParameter.taskNames.any { it == 'publishToMavenLocal' || it == 'publish' }
}
}

Expand Down

0 comments on commit 65abd3b

Please sign in to comment.