gradle-archetype-plugin
gradle-archetype-plugin copied to clipboard
Missing Property when execute 'gradle cleanArch generate -i'
I clone the project and navigate to /gradle-archetype-plugin/src/test/resources/sample.
When I execute 'gradle cleanArch generate -i' command, I receive the error:
Initialized native services in: /home/daniloalexandre/.gradle/native
The client will now receive all logging from the daemon (pid: 2974). The daemon log file: /home/daniloalexandre/.gradle/daemon/7.0.1/daemon-2974.out.log
Starting 2nd build in daemon [uptime: 40 mins 16.265 secs, performance: 100%, non-heap usage: 25% of 256 MiB]
Using 4 worker leases.
Now considering [/home/daniloalexandre/examples/gradle-archetype-plugin/src/test/resources/sample, /home/daniloalexandre/examples/MyService/techne] as hierarchies to watch
Watching the file system is enabled if available
Starting Build
Settings evaluated using settings file '/home/daniloalexandre/examples/gradle-archetype-plugin/src/test/resources/sample/settings.gradle'.
Projects loaded. Root project using build file '/home/daniloalexandre/examples/gradle-archetype-plugin/src/test/resources/sample/build.gradle'.
Included projects: [root project 'temp']
> Configure project :
Evaluating root project 'temp' using build file '/home/daniloalexandre/examples/gradle-archetype-plugin/src/test/resources/sample/build.gradle'.
All projects evaluated.
Selected primary task 'cleanArchetype' from project :
Selected primary task 'generate' from project :
Tasks to be executed: [task ':cleanArchetype', task ':generate']
Tasks that were excluded: []
:cleanArchetype (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :cleanArchetype FAILED
:cleanArchetype (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.019 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':cleanArchetype' (type 'ArchetypeCleanTask').
- Type 'com.orctom.gradle.archetype.ArchetypeCleanTask' 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.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
- Type 'com.orctom.gradle.archetype.ArchetypeCleanTask' 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.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
1 actionable task: 1 executed
Watching 0 directories to track changes
I'm using gradle 7.0.1:
------------------------------------------------------------
Gradle 7.0.1
------------------------------------------------------------
Build time: 2021-05-10 16:08:58 UTC
Revision: 67e618faef187783dadd03a34fdab9dc71b85b19
Kotlin: 1.4.31
Groovy: 3.0.7
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM: 11.0.11 (Ubuntu 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OS: Linux 5.4.72-microsoft-standard-WSL2 amd64
Maybe this problem is related to https://github.com/orctom/gradle-archetype-plugin/issues/32