add fatJar
This commit is contained in:
+14
-1
@@ -5,4 +5,17 @@ plugins {
|
||||
node {
|
||||
workDir = file("${project.projectDir}/react/")
|
||||
nodeModulesDir = file("${project.projectDir}/react/node_modules")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named("yarn_build") {
|
||||
dependsOn("yarn_install")
|
||||
}
|
||||
|
||||
tasks.register<Copy>("copyBuild") {
|
||||
from(file("$rootDir/webUI/react/build"))
|
||||
into(file("$rootDir/server/src/main/resources/react"))
|
||||
}
|
||||
|
||||
tasks.named("copyBuild") {
|
||||
dependsOn("yarn_build")
|
||||
}
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"systemParams": "linux-x64-88",
|
||||
"modulesFolders": [],
|
||||
"flags": [],
|
||||
"linkedModules": [],
|
||||
"topLevelPatterns": [],
|
||||
"lockfileEntries": {},
|
||||
"files": [],
|
||||
"artifacts": {}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user