Skip to content

Commit ed42636

Browse files
committed
fix signing
1 parent 7684503 commit ed42636

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ val mokoVersion = libs.versions.mokoErrorsVersion.get()
2323
allprojects {
2424
this.group = "dev.icerock.moko"
2525
this.version = mokoVersion
26+
27+
// 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.
28+
val signingTasks = tasks.withType<Sign>()
29+
tasks.withType<AbstractPublishToMaven>().configureEach {
30+
dependsOn(signingTasks)
31+
}
2632
}
2733

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

0 commit comments

Comments
 (0)