20.10.11 04:15 작성
·
595
9
https://plugins.gradle.org/plugin/org.siouan.frontend
사용하시면 될듯합니다.
////build.gradle 설정
def preinstalledNodeDistributionDirectory = file("${projectDir}/src/main/resources/static/node")
apply plugin: 'org.siouan.frontend-jdk11'
frontend {
nodeDistributionProvided = false
nodeInstallDirectory = file("${projectDir}/src/main/resources/static/node")
packageJsonDirectory = file("${projectDir}/src/main/resources/static")
nodeVersion = '12.16.3'
assembleScript = 'run build'
cleanScript = 'run clean'
checkScript = 'run check'
}