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.
1 parent 678b0ef commit 639b142Copy full SHA for 639b142
build-logic/src/main/kotlin/ckbuild.publication.gradle.kts
@@ -53,5 +53,5 @@ signing.isRequired = false
53
// and so we need to manually create task dependencies to make Gradle happy
54
val javadocJar by tasks.registering(Jar::class) { archiveClassifier.set("javadoc") }
55
tasks.withType<Sign>().configureEach { dependsOn(javadocJar) }
56
-tasks.withType<AbstractPublishToMaven>().configureEach { dependsOn(tasks.withType<Sign>()) }
+tasks.withType<AbstractPublishToMaven>().configureEach { mustRunAfter(tasks.withType<Sign>()) }
57
publishing.publications.withType<MavenPublication>().configureEach { artifact(javadocJar) }
0 commit comments