Code Monkey home page Code Monkey logo

Comments (3)

github-actions avatar github-actions commented on June 10, 2024

Thank you for reporting an issue. See the wiki for documentation and slack for questions.

from kotlin-logging.

oshai avatar oshai commented on June 10, 2024

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.

oshai avatar oshai commented on June 10, 2024

Seems like this was caused by gradle/gradle#26091. Applied the fix suggested in gradle/gradle#26091 (comment)

from kotlin-logging.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.