summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2019-02-23 05:01:33 +0100
committerjbion <joffrey.bion@amadeus.com>2019-02-23 05:01:33 +0100
commit40f89320f20689b2da96ef057ac5a424a65db031 (patch)
tree4d1266b1104e2568a89d1722ccaf069615212748
parentMove images to frontend app (diff)
downloadseven-wonders-40f89320f20689b2da96ef057ac5a424a65db031.tar.gz
seven-wonders-40f89320f20689b2da96ef057ac5a424a65db031.tar.bz2
seven-wonders-40f89320f20689b2da96ef057ac5a424a65db031.zip
Fix jar task to include frontend
-rw-r--r--backend/build.gradle.kts4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts
index 3ac55acf..8a8783c8 100644
--- a/backend/build.gradle.kts
+++ b/backend/build.gradle.kts
@@ -38,11 +38,11 @@ dependencies {
}
// packages the frontend app within the jar
-tasks.jar {
+tasks.bootJar {
from("../frontend/build") {
into("static")
}
}
// make sure we build the frontend before creating the jar
-tasks.jar.get().dependsOn(":frontend:assemble")
+tasks.bootJar.get().dependsOn(":frontend:assemble")
bgstack15