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

Plugin does not work with Gradle 7.x #41

Closed
mkowaliszyn-coursera opened this issue Jul 21, 2021 · 2 comments · Fixed by #42
Closed

Plugin does not work with Gradle 7.x #41

mkowaliszyn-coursera opened this issue Jul 21, 2021 · 2 comments · Fixed by #42

Comments

@mkowaliszyn-coursera
Copy link

The following error occurs:

> Task :cleanupGeneratedApplication UP-TO-DATE
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':generate' (type 'ArchetypeGenerateTask').
  - Type 'com.orctom.gradle.archetype.ArchetypeGenerateTask' 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.0.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'com.orctom.gradle.archetype.ArchetypeGenerateTask' property 'group' 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.0.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 950ms
9 actionable tasks: 8 executed, 1 up-to-date

The cleanArchetype task also has this problem.

@jumaallan
Copy link

jumaallan commented Aug 20, 2021

Running on the same issue too. Not sure if this will be fixed since the project has been updated to show it's looking for a new maintainer

@xrigau
Copy link
Contributor

xrigau commented Aug 20, 2021

I forked the repo, applied the fix and opened this PR #42
The README says the owner is looking for a maintainer, let's hope we can get the PR merged and released 🤞

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

Successfully merging a pull request may close this issue.

3 participants