fix webUI not working with gradle 7.0

This commit is contained in:
Aria Moradi 2021-05-03 23:21:37 +04:30
parent b718c718df
commit 1d29e8b248

View File

@ -1,14 +1,13 @@
plugins { plugins {
id("com.moowork.node") version "1.3.1" id("com.github.node-gradle.node") version "3.0.1"
} }
node { node {
workDir = file("${project.projectDir}/react/") nodeProjectDir.set(file("${project.projectDir}/react/"))
nodeModulesDir = file("${project.projectDir}/react/")
} }
tasks.named("yarn_build") { tasks.named("yarn_build") {
dependsOn("yarn") // install node_moduels dependsOn("yarn") // install node_modules
} }
tasks.register<Copy>("copyBuild") { tasks.register<Copy>("copyBuild") {