File tree Expand file tree Collapse file tree
main/kotlin/com/github/gradle/node
node-allow-insecure-protocol
node-disallow-insecure-protocol
node-fail-on-project-repos-download Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## Version 8.x * (unreleased)*
44* Drop support for npm versions older than 7
5+ * Upgrade default Node to 24.16.0 and npm to 11.13.0
56
67## Version 7.1.0 * (2024-09-27)*
78* Add support for ARM64 Windows [ #315 ] ( https://github.com/node-gradle/gradle-node-plugin/issues/315 )
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ node {
211211
212212 // Version of node to download and install (only used if download is true)
213213 // It will be unpacked in the workDir
214- version = "18.17.1 "
214+ version = "24.16.0 "
215215
216216 // Version of npm to use
217217 // If specified, installs it in the npmWorkDir
Original file line number Diff line number Diff line change @@ -202,12 +202,12 @@ open class NodeExtension(project: Project) {
202202 /* *
203203 * Default version of Node to download if none is set
204204 */
205- const val DEFAULT_NODE_VERSION = " 18.17.1 "
205+ const val DEFAULT_NODE_VERSION = " 24.16.0 "
206206
207207 /* *
208208 * Default version of npm to download if none is set
209209 */
210- const val DEFAULT_NPM_VERSION = " 9.6.7 "
210+ const val DEFAULT_NPM_VERSION = " 11.13.0 "
211211
212212 @JvmStatic
213213 operator fun get (project : Project ): NodeExtension {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ plugins {
1616}
1717
1818node {
19- version.set(" 18.17.1 " )
19+ version.set(" 24.16.0 " )
2020 npmVersion.set(" " )
2121 yarnVersion.set(" " )
2222 npmInstallCommand.set(" install" )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
33}
44
55node {
6- version = " 18.17.1 "
6+ version = " 24.16.0 "
77 distBaseUrl = " http://nodejs.org/dist/"
88 download = true
99 allowInsecureProtocol = true
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
33}
44
55node {
6- version = " 18.17.1 "
6+ version = " 24.16.0 "
77 distBaseUrl = " https://nodejs.org/dist/"
88 download = true
99 allowInsecureProtocol = false
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
33}
44
55node {
6- version = " 18.17.1 "
6+ version = " 24.16.0 "
77 distBaseUrl = null
88 download = true
99 workDir = file(" build/node" )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77node {
8- version = " 18.17.1 "
8+ version = " 24.16.0 "
99 download = true
1010 workDir = file(" build/node" )
1111}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
77def changeInputs = isPropertyEnabled(" changeInputs" )
88
99node {
10- npmVersion = " 9.6.7 "
10+ npmVersion = " 11.13.0 "
1111 download = true
1212 workDir = file(' build/node' )
1313}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77node {
8- npmVersion = " 9.6.7 "
8+ npmVersion = " 11.13.0 "
99 download = true
1010 workDir = file(" build/node" )
1111}
You can’t perform that action at this time.
0 commit comments