diff --git a/build.gradle b/build.gradle index e352dcaa..c76dc0bd 100644 --- a/build.gradle +++ b/build.gradle @@ -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