Has anyone encountered the following issue? ```&gt...
# multiplatform
o
Has anyone encountered the following issue?
Copy code
> Task :signAndroidReleasePublication FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':signAndroidReleasePublication' (type 'Sign').
  - Gradle detected a problem with the following location: '/Users/runner/work/kotlin-logging/kotlin-logging/build/libs/kotlin-logging-6.0.6-javadoc.jar.asc'.
    
    Reason: Task ':publishAndroidDebugPublicationToSonatypeRepository' uses this output of task ':signAndroidReleasePublication' 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 ':signAndroidReleasePublication' as an input of ':publishAndroidDebugPublicationToSonatypeRepository'.
      2. Declare an explicit dependency on ':signAndroidReleasePublication' from ':publishAndroidDebugPublicationToSonatypeRepository' using Task#dependsOn.
      3. Declare an explicit dependency on ':signAndroidReleasePublication' from ':publishAndroidDebugPublicationToSonatypeRepository' using Task#mustRunAfter.
66 actionable tasks: 66 executed
    
    For more information, please refer to <https://docs.gradle.org/8.7/userguide/validation_problems.html#implicit_dependency> in the Gradle documentation.
I am not sure, but maybe related to gradle 8 upgrade.
d
You can fix this error by declaring the dependency of task
publishAndroidDebugPublicationToSonatypeRepository
on the
signAndroidReleasePublication
. If you encounter this error for differnet target you can configure the for every target using its type.
o
It's ashame it's open for so long without a proper fix.
­čÖâ 1