Skip to content

Commit

Permalink
Bump node-gradle plugin version to 7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
scroix committed Apr 1, 2024
1 parent 5269ab2 commit 1e5f84f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nodel-webui-js/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import org.joda.time.DateTime
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}

dependencies {
Expand All @@ -16,12 +15,11 @@ plugins {
id 'java'
id 'eclipse'
id 'maven-publish'
id 'com.github.node-gradle.node' version '3.4.0'
id 'com.github.node-gradle.node' version '7.0.2'
}

repositories {
mavenCentral()
gradlePluginPortal()
}

dependencies {
Expand Down Expand Up @@ -53,16 +51,18 @@ node {
version = '16.20.2'
download = true
workDir = file("${project.buildDir}/nodejs")

npmInstallCommand = System.getenv("CI") ? 'ci' : 'install'
}

tasks.register('installGruntCli', NpmTask) {
args = ['install', 'grunt-cli', '--save-dev', '--legacy-peer-deps']
}

tasks.register('gruntRun', NpmTask) {
tasks.register('gruntRun', NpxTask) {
dependsOn installGruntCli
args = ['run-script', 'run-grunt']
command = "grunt"
args = ["build"]
inputs.file("Gruntfile.js")
inputs.dir("src")
inputs.dir("node_modules")
Expand Down

0 comments on commit 1e5f84f

Please sign in to comment.