Skip to content

Commit 81a2306

Browse files
Workaround Gradle dependency bug for signing (#94)
Well, now we hit gradle/gradle#26091 which is yet to be fixed in Gradle. So I force all-to-all signing dependencies
1 parent 5149804 commit 81a2306

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ publish.dependsOn checkReleasePreconditions
199199
publish.dependsOn 'signStandaloneJarPublication'
200200
publish.dependsOn 'signMavenJavaPublication'
201201

202+
// FIXME: remove after https://github.com/gradle/gradle/issues/26091
203+
tasks.withType(AbstractPublishToMaven).configureEach {
204+
def signingTasks = tasks.withType(Sign)
205+
mustRunAfter(signingTasks)
206+
}
207+
202208
repositories {
203209
mavenCentral()
204210
mavenLocal()

0 commit comments

Comments
 (0)