Skip to content

Commit

Permalink
fix sign issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 committed Sep 8, 2024
1 parent f1452cc commit 5ca622e
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,4 +23,10 @@ allprojects {
tasks.withType<KotlinCompile> {
compilerOptions.jvmTarget = JvmTarget.JVM_1_8
}

// fix Reason: Task ':graphics:publishJsPublicationToOSSRHRepository' uses this output of task ':graphics:signAndroidDebugPublication' 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)
}
}

0 comments on commit 5ca622e

Please sign in to comment.