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

Gradle 7.1 refused to run because of missing annotations on configuration #452

Open
cnygardtw opened this issue Jun 15, 2021 · 2 comments
Open

Comments

@cnygardtw
Copy link

What happened?

* What went wrong:
Some problems were found with the configuration of task ':skeleton:app:dockerComposeUp' (type 'DockerComposeUp').
  - In plugin 'com.palantir.docker' type 'com.palantir.gradle.docker.DockerComposeUp' property 'configuration' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.
    
    Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.palantir.docker' type 'com.palantir.gradle.docker.DockerComposeUp' property 'description' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.
    
    Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.palantir.docker' type 'com.palantir.gradle.docker.DockerComposeUp' property 'dockerComposeExtension' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.
    
    Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#missing_annotation for more details about this problem.

What did you want to happen?

Should work as normal in Gradle 6.7.x and below

@wickedev
Copy link

wickedev commented Sep 13, 2021

Solved by this commit on version 0.28.0 33ba755#diff-33eeaee8d6137e8794d205777eed7e1b34bee8297d972cb0fa5a2dfd4e2e3552R29

@mchowdhury319
Copy link

I am using JDK 17 (temurin-17.jdk), so I need to use gradle version 7 > (I am using https://services.gradle.org/distributions/gradle-7.4.2-bin.zip);

When I try to build my project, I get the following error:

**

Task :compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :bootJar FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem was found with the configuration of task ':bootJar' (type 'BootJar').

**

Thank you for looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants