Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
Attempt to fix build issue by using gradle node plugin as recommended here srs/gradle-node-plugin#292
  • Loading branch information
jk497 authored Mar 18, 2023
1 parent e014b64 commit fa2ac16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
plugins {
//inlude the nodeJS plugin to execute nodejs and npm tasks
id "com.moowork.node" version "1.2.0"
id("com.github.node-gradle.node") version "2.2.0"
}

node {
download = true
version = "9.11.1"
npmVersion = "5.6.0"
download = true
version = "9.11.1"
npmVersion = "5.6.0"
}


//declare a build task
task build

Expand All @@ -32,4 +32,4 @@ build.dependsOn zip
zip.dependsOn npm_build
npm_build.dependsOn npm_test
npm_test.dependsOn npmInstall
npm_build.dependsOn npmInstall
npm_build.dependsOn npmInstall

0 comments on commit fa2ac16

Please sign in to comment.