Skip to content

Commit

Permalink
Sign published artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermocalvo committed Jan 22, 2024
1 parent cad72a3 commit 471b5de
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,8 @@ subprojects { Project project ->
}
}

afterEvaluate {
signing {
required { isReleaseVersion }
sign publishing.publications.mavenRelease
}
}

tasks.withType(Sign) {
onlyIf { isReleaseVersion }
signing {
sign publishing.publications.mavenRelease
}

//do not generate extra load on Nexus with new staging repository if signing fails
Expand Down

0 comments on commit 471b5de

Please sign in to comment.