solonovamax
02/21/2025, 1:50 AMFAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Some problems were found with the configuration of task ':kt-string-similarity:iosSimulatorArm64Klib' (type 'Zip').
- Gradle detected a problem with the following location: '/home/solonovamax/Programming/Kotlin/kt-fuzzy/kt-string-similarity/build/libs/kt-string-similarity-0.1.0-SNAPSHOT.klib'.
Reason: Task ':kt-string-similarity:signIosArm64Publication' uses this output of task ':kt-string-similarity:iosSimulatorArm64Klib' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':kt-string-similarity:iosSimulatorArm64Klib' as an input of ':kt-string-similarity:signIosArm64Publication'.
2. Declare an explicit dependency on ':kt-string-similarity:iosSimulatorArm64Klib' from ':kt-string-similarity:signIosArm64Publication' using Task#dependsOn.
3. Declare an explicit dependency on ':kt-string-similarity:iosSimulatorArm64Klib' from ':kt-string-similarity:signIosArm64Publication' using Task#mustRunAfter.
For more information, please refer to <https://docs.gradle.org/8.12.1/userguide/validation_problems.html#implicit_dependency> in the Gradle documentation.
- Gradle detected a problem with the following location: '/home/solonovamax/Programming/Kotlin/kt-fuzzy/kt-string-similarity/build/libs/kt-string-similarity-0.1.0-SNAPSHOT.klib'.
Reason: Task ':kt-string-similarity:generateMetadataFileForIosArm64Publication' uses this output of task ':kt-string-similarity:iosSimulatorArm64Klib' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':kt-string-similarity:iosSimulatorArm64Klib' as an input of ':kt-string-similarity:generateMetadataFileForIosArm64Publication'.
2. Declare an explicit dependency on ':kt-string-similarity:iosSimulatorArm64Klib' from ':kt-string-similarity:generateMetadataFileForIosArm64Publication' using Task#dependsOn.
3. Declare an explicit dependency on ':kt-string-similarity:iosSimulatorArm64Klib' from ':kt-string-similarity:generateMetadataFileForIosArm64Publication' using Task#mustRunAfter.
For more information, please refer to <https://docs.gradle.org/8.12.1/userguide/validation_problems.html#implicit_dependency> in the Gradle documentation.
I cannot identify the cause of this.
How can I fix this?
If needed, I can provide a tarball/zip of the project (the project is published on github, however I have some local changes which I do not wish to publish until this issue is fixed)Pablichjenkov
02/21/2025, 2:03 AMsolonovamax
02/21/2025, 2:04 AMPablichjenkov
02/21/2025, 2:34 AM