oshai
04/14/2024, 6:30 PM> 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.
oshai
04/14/2024, 6:31 PMoshai
04/14/2024, 6:31 PMoshai
04/14/2024, 6:41 PMDevanshu Pathsariya
04/14/2024, 6:41 PMpublishAndroidDebugPublicationToSonatypeRepository
on the signAndroidReleasePublication
. If you encounter this error for differnet target you can configure the for every target using its type.oshai
04/14/2024, 6:59 PMoshai
04/14/2024, 6:59 PM