Skip to content

Commit

Permalink
Workaround Gradle dependency bug for signing (#94)
Browse files Browse the repository at this point in the history
Well, now we hit gradle/gradle#26091 which is
yet to be fixed in Gradle. So I force all-to-all signing dependencies
  • Loading branch information
oleg-nenashev authored Nov 3, 2023
1 parent 5149804 commit 81a2306
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ publish.dependsOn checkReleasePreconditions
publish.dependsOn 'signStandaloneJarPublication'
publish.dependsOn 'signMavenJavaPublication'

// FIXME: remove after https://github.com/gradle/gradle/issues/26091
tasks.withType(AbstractPublishToMaven).configureEach {
def signingTasks = tasks.withType(Sign)
mustRunAfter(signingTasks)
}

repositories {
mavenCentral()
mavenLocal()
Expand Down

0 comments on commit 81a2306

Please sign in to comment.