Skip to content

Commit

Permalink
fix signing
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 committed Sep 30, 2024
1 parent 7684503 commit ed42636
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ val mokoVersion = libs.versions.mokoErrorsVersion.get()
allprojects {
this.group = "dev.icerock.moko"
this.version = mokoVersion

// fix Reason: Task ':errors:publishAndroidPublicationToSonatypeRepository' uses this output of task ':errors:signIosArm64Publication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
val signingTasks = tasks.withType<Sign>()
tasks.withType<AbstractPublishToMaven>().configureEach {
dependsOn(signingTasks)
}
}

tasks.register("clean", Delete::class).configure {
Expand Down

0 comments on commit ed42636

Please sign in to comment.