Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format tasks is broken when gradle plugin org.graalvm.buildtools.native is applied #430

Closed
quaff opened this issue Dec 16, 2024 · 1 comment

Comments

@quaff
Copy link

quaff commented Dec 16, 2024

Run gradle format result in error:

    Reason: Task ':compileJava' uses this output of task ':formatMain' 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 ':formatMain' as an input of ':compileJava'.
      2. Declare an explicit dependency on ':formatMain' from ':compileJava' using Task#dependsOn.
      3. Declare an explicit dependency on ':formatMain' from ':compileJava' using Task#mustRunAfter.
    
    For more information, please refer to https://docs.gradle.org/8.11.1/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

Reproducer: native-demo.zip

@wilkinsona
Copy link
Contributor

Duplicates #425 and #424.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants