I am in process of migrating jdk 11 to jdk 17, and updating gradle version from 6.6.1 to 7.4
After changing versions, I tried making war using gradle war command but it failed at this point –
> Task :project:npmInstall FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':project:npmInstall' (type 'NpmInstallTask').
- In plugin 'com.moowork.gradle.node.NodePlugin' type 'com.moowork.gradle.node.task.NpmInstallTask' property 'args' 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.4/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'com.moowork.gradle.node.NodePlugin' type 'com.moowork.gradle.node.task.NpmInstallTask' property 'result' 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.
I am new developer please help me what all changes do I need to make.
New contributor
Arjun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.