Gradle plugin for integrating NodeJS in your build. :rocket:
Full Changelog: https://github.com/node-gradle/gradle-node-plugin/compare/3.2.1...3.3.0
Full Changelog: https://github.com/node-gradle/gradle-node-plugin/compare/3.1.1...3.2.0
HTTP_PROXY
and HTTPS_PROXY
This version breaks backward compatibility. It should not be visible for most Groovy DSL users since the Groovy DSL handles transparently most of these changes. Here is what changed:
com.moowork.gradle.node
(and all children) renamed to com.github.gradle.node
com.moowork.gradle.node.npm
renamed to com.github.gradle.node.npm.task
com.moowork.gradle.node.yarn
renamed to com.github.gradle.node.yarn.task
node
extension and all tasks) are now some
lazy properties as recommended by
Gradle. This makes this plugin fully compatible with lazy configuration (tasks will be configured only if they need to
run and configuration properties are read only at runtime if needed and not at configuration time).nodeModulesDir
option was renamed to nodeProjectDir
(name more explicit and less confusing)
(issue #99). The former name still works but is
deprecated.nodeModulesOutputFilter
on npmInstall
and yarn
tasks. It also affects Groovy DSL
users. Use now nodeModulesOutputFilter { ... }
instead of nodeModulesOutputFilter = { ... }
.Fix a duplicated node_modules
output declaration in the yarn
task. This fix speeds up this task.
The previous release (2.2.2) was released by error from the development branch which contains an entire Kotlin rewrite of the plugin code and many backward compatibility breaks. This new version replaces the previous one and adds one fix.
Edit: this release was broken, see #80. Use 2.2.3 instead.