Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 4e6b8c0

Browse files
committed
trying to fix sign/publish task dependency
1 parent 4455e2d commit 4e6b8c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

publish-mpp.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,10 @@ publishing {
2727
}
2828
}
2929
}
30+
31+
//region Fix Gradle error Reason: Task <publish> uses this output of task <sign> without declaring an explicit or implicit dependency.
32+
// https://github.com/gradle/gradle/issues/26091
33+
tasks.withType<AbstractPublishToMaven>().configureEach {
34+
val signingTasks = tasks.withType<Sign>()
35+
mustRunAfter(signingTasks)
36+
}

0 commit comments

Comments
 (0)