Releases: node-gradle/gradle-node-plugin
Releases · node-gradle/gradle-node-plugin
2.2.1 - Hotfix for #63
- Only use fileTree for npmInstall output if a filter is configured. Hotfix for #63
2.2.0 - Task improvements
- Improve the inputs declarations of tasks:
NodeTask
'sscript
now has relative path sensitivity (issue #41)- No longer consider the working dir as an input for all tasks (issue #40)
- Explicitly exclude the
execOverrides
option of tasks from the inputs (issue #40) - Add the ability to remove some files of the
node_modules
directory from theNpmInstallTask
andYarnInstallTask
outputs from the task output ; this is necessary when some tasks change some files of thenode_modules
directory ; theNpmInstallTask
andYarnInstallTask
are never up-to-date in this case (issue #38)
- Deprecate the usage of
NodeTask
with ascript
which is a directory ; Node.js supports that and looks for anindex.js
file in the directory but this is not compliant with a correct input/output declaration (issue #41) - No longer use
Project.afterEvaluate
as a first step to support lazy tasks configuration (issue #39) - Gradle 6 compatibility (all integration tests run also on Gradle 6.0-rc-1)
- Improve the integration tests coverage
2.1.1 - Fix an issue regarding too sensitive up-to-date detection
- Fix an issue in
NodeTask
,NpmTask
,NpxTask
andYarnTask
that caused the up-to-date checking to be too much sensitive regarding the environment: any change of an environment variable caused the task to be considered as out-of-date - Improve the inputs declarations of the
YarnTask
2.1.0 - NpxTask, better ARM support, improved up-to-date, and more
- Adds NpxTask for making use of https://www.npmjs.com/package/npx PR #32
- Improved up-to-date checks PR #32
- Support ARM even if the JDK reports aarch64 #33
- Setting distBaseUrl to null disables repository adding PR #25