Skip to content

Commit

Permalink
trying to fix sign/publish task dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Kantis committed Dec 23, 2024
1 parent 4455e2d commit 4e6b8c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions publish-mpp.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ publishing {
}
}
}

//region Fix Gradle error Reason: Task <publish> uses this output of task <sign> without declaring an explicit or implicit dependency.
// https://github.com/gradle/gradle/issues/26091
tasks.withType<AbstractPublishToMaven>().configureEach {
val signingTasks = tasks.withType<Sign>()
mustRunAfter(signingTasks)
}

0 comments on commit 4e6b8c0

Please sign in to comment.