Comments (3)
Thank you for reporting an issue. See the wiki for documentation and slack for questions.
from kotlin-logging.
Seems like #420 fail publish with the following error:
FAILURE: Build failed with an exception.
[168](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:169)
[169](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:170)
* What went wrong:
[170](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:171)
51 actionable tasks: 51 executed
[171](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:172)
A problem was found with the configuration of task ':signAndroidNativeArm32Publication' (type 'Sign').
[172](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:173)
- Gradle detected a problem with the following location: '/Users/runner/work/kotlin-logging/kotlin-logging/build/libs/kotlin-logging-6.0.5-javadoc.jar.asc'.
[173](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:174)
[174](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:175)
Reason: Task ':publishAndroidDebugPublicationToSonatypeRepository' uses this output of task ':signAndroidNativeArm32Publication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
[175](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:176)
[176](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:177)
Possible solutions:
[177](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:178)
1. Declare task ':signAndroidNativeArm32Publication' as an input of ':publishAndroidDebugPublicationToSonatypeRepository'.
[178](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:179)
2. Declare an explicit dependency on ':signAndroidNativeArm32Publication' from ':publishAndroidDebugPublicationToSonatypeRepository' using Task#dependsOn.
[179](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:180)
3. Declare an explicit dependency on ':signAndroidNativeArm32Publication' from ':publishAndroidDebugPublicationToSonatypeRepository' using Task#mustRunAfter.
[180](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:181)
[181](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:182)
For more information, please refer to https://docs.gradle.org/8.7/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
[182](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:183)
[183](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:184)
* Try:
[184](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:185)
> Run with --info or --debug option to get more log output.
[185](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:186)
> Run with --scan to get full insights.
[186](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:187)
> Get more help at https://help.gradle.org./
[187](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:188)
[188](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:189)
* Exception is:
[189](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:190)
org.gradle.internal.execution.WorkValidationException: A problem was found with the configuration of task ':signAndroidNativeArm32Publication' (type 'Sign').
[190](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:191)
- Gradle detected a problem with the following location: '/Users/runner/work/kotlin-logging/kotlin-logging/build/libs/kotlin-logging-6.0.5-javadoc.jar.asc'.
[191](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:192)
[192](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:193)
Reason: Task ':publishAndroidDebugPublicationToSonatypeRepository' uses this output of task ':signAndroidNativeArm32Publication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
[193](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:194)
[194](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:195)
Possible solutions:
[195](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:196)
1. Declare task ':signAndroidNativeArm32Publication' as an input of ':publishAndroidDebugPublicationToSonatypeRepository'.
[196](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:197)
2. Declare an explicit dependency on ':signAndroidNativeArm32Publication' from ':publishAndroidDebugPublicationToSonatypeRepository' using Task#dependsOn.
[197](https://github.com/oshai/kotlin-logging/actions/runs/8680612864/job/23801567076#step:4:198)
3. Declare an explicit dependency on ':signAndroidNativeArm32Publication' from ':publishAndroidDebugPublicationToSonatypeRepository' using Task#mustRunAfter.
I will try to revert it.
from kotlin-logging.
Seems like this was caused by gradle/gradle#26091. Applied the fix suggested in gradle/gradle#26091 (comment)
from kotlin-logging.
Related Issues (20)
- Payload not available to JS HOT 7
- underlyingLogger got a lot more complex HOT 5
- sflj jdk backend does not recognize class name HOT 14
- Gradle logging HOT 2
- Problems regarding Android HOT 3
- Problem using LogstashMarker HOT 15
- Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory HOT 2
- Declaring logger outside the class vs. inside HOT 8
- Possible to add a module-info.java for improved JPMS support? HOT 3
- setting logging level per KLogger instance in run-time HOT 4
- Built JAR Errors - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" HOT 3
- Darwin doesn't log stacktraces HOT 2
- Publish Dokka HTML docs on project site HOT 2
- Why was KLogging deprecated? HOT 4
- KLoggingEventBuilder accept nullable values in payload HOT 4
- IllegalArgumentException when message includes {} HOT 5
- Wrong class name printed when using LoggingEventBuilder with payload HOT 10
- Undo workaround for Gradle issue #11412 HOT 1
- Add timestamp to the KLoggingEvent HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-logging.