add fatJar

This commit is contained in:
Aria Moradi
2021-01-20 03:05:40 +03:30
parent a7e63565ef
commit ace471abdb
6 changed files with 78 additions and 3 deletions
+14 -1
View File
@@ -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
View File
@@ -0,0 +1,10 @@
{
"systemParams": "linux-x64-88",
"modulesFolders": [],
"flags": [],
"linkedModules": [],
"topLevelPatterns": [],
"lockfileEntries": {},
"files": [],
"artifacts": {}
}
+4
View File
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1