Electric-Coin-Company / kotlin-bip39

A concise implementation of BIP-0039 in Kotlin for Android. In order, it prioritizes being secure, concise and idiomatic.
MIT License
35 stars 8 forks source link

Deploy to mavenLocal failed #227

Closed HonzaR closed 11 months ago

HonzaR commented 11 months ago

Describe the issue

Actual behavior + errors

> Task :bip39-lib:signKotlinMultiplatformPublication FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

FAILURE: Build failed with an exception.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
26 actionable tasks: 17 executed, 8 from cache, 1 up-to-date
* What went wrong:
A problem was found with the configuration of task ':bip39-lib:signKotlinMultiplatformPublication' (type 'Sign').
  - Gradle detected a problem with the following location: '/home/runner/work/kotlin-bip39/kotlin-bip39/bip39-lib/build/libs/bip39-lib-javadoc.jar.asc'.

    Reason: Task ':bip39-lib:publishJvmPublicationToMavenLocalRepository' uses this output of task ':bip39-lib:signKotlinMultiplatformPublication' 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 ':bip39-lib:signKotlinMultiplatformPublication' as an input of ':bip39-lib:publishJvmPublicationToMavenLocalRepository'.
      2. Declare an explicit dependency on ':bip39-lib:signKotlinMultiplatformPublication' from ':bip39-lib:publishJvmPublicationToMavenLocalRepository' using Task#dependsOn.
      3. Declare an explicit dependency on ':bip39-lib:signKotlinMultiplatformPublication' from ':bip39-lib:publishJvmPublicationToMavenLocalRepository' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

Any extra information that might be useful in the debugging process.