We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Publish
Sign
1 parent c4f9884 commit 2b0b100Copy full SHA for 2b0b100
build.gradle.kts
@@ -78,6 +78,14 @@ subprojects {
78
}
79
80
81
+// Publish tasks use the output of Sign tasks, but don't actually declare a dependency upon it,
82
+// which then causes execution optimizations to be disabled. If this target project has Publish
83
+// tasks, explicitly make them run after Sign.
84
+subprojects {
85
+ tasks.matching { it is AbstractPublishToMaven }
86
+ .all { mustRunAfter(tasks.matching { it is Sign }) }
87
+}
88
+
89
allprojects {
90
91
configurations.all {
0 commit comments