mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 19:04:39 -05:00
add fatJar
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user