Skip to content

Releases: node-gradle/gradle-node-plugin

3.4.0

26 Jun 19:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.3.0...3.4.0

3.3.0

14 May 20:05
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.2.1...3.3.0

3.2.1

20 Feb 21:04
Compare
Choose a tag to compare

Full Changelog: 3.2.0...3.2.1

  • Backwards compatibility fix for those using VariantComputer #213
  • Prevent M1 Macs from attempting to download a non-existent distribution #214

3.2.0

07 Feb 12:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.1.1...3.2.0

3.1.1 - Add support for Linux on Z system (s390x)

12 Sep 10:23
Compare
Choose a tag to compare
  • Add support for Linux on Z system (s390x) #193

3.0.1

09 Feb 17:25
Compare
Choose a tag to compare
  • Fixes a bug with the task rule preventing it from being configured #145

3.0.0 - configuration cache support, kotlin rewrite, lazy configuration, api changes, proxy fixes, and more

06 Feb 17:15
Compare
Choose a tag to compare
  • Rewrite the code to Kotlin (issue #17)
    (thanks mikejhill
    for the pull request)
  • Improve the Kotlin DSL support (see this Kotlin DSL example
    that shows how to use this plugin version with Kotlin)
  • Upgrade default Node.js version to 14.15.4 (bundled with npm 6.14.10), the latest LTS version
  • Add support of lazy configuration (issue #39)
  • Add support of Gradle Configuration Cache (introduced in Gradle 6.8) (issue #111)
  • Fix some remaining input/output declaration issues (issue
    #34)
  • Gradle 5.6.4+ support (instead of Gradle 5.0.0+ before)
  • Node.js 10+ support (issue #100)
  • Improved automatic proxy configuration (issue #113), use http:// for both HTTP_PROXY and HTTPS_PROXY
  • Improved proxy configuration (PR #135)
  • npm 7+ support (issue #123)
  • Improved ARM support (issue #130)
  • Gradle configuration cache support (issue #111)
  • Add RepositoryContentDescriptor to IvyRepository #136

Breaking changes

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:

  • All the packages were renamed (they were inherited from the original forked project):
    • 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
  • All the configuration properties (the 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).
  • Thanks to the Kotlin rewrite, some properties now have a stronger typing.
  • nodeModulesDir option was renamed to nodeProjectDir (name more explicit and less confusing)
    (issue #99). The former name still works but is
    deprecated.
  • Change the syntax to configure nodeModulesOutputFilter on npmInstall and yarn tasks. It also affects Groovy DSL
    users. Use now nodeModulesOutputFilter { ... } instead of nodeModulesOutputFilter = { ... }.

2.2.4 - Fix an issue with the yarn task

18 May 12:45
Compare
Choose a tag to compare

Fix a duplicated node_modules output declaration in the yarn task. This fix speeds up this task.

2.2.3 - backport fixes and release from pre-kotlin #80

29 Feb 10:10
Compare
Choose a tag to compare

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.

  • Make npm and npx symlinks relative. PR #68
  • NpmSetupTask does not work when using separate http and https proxy settings #69

2.2.2 Hotfix for relative binary symlinks

21 Feb 10:34
Compare
Choose a tag to compare

Edit: this release was broken, see #80. Use 2.2.3 instead.

  • Make npm and npx symlinks relative. PR #68