summaryrefslogtreecommitdiff
path: root/backend/build.gradle
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2017-01-20 19:50:07 +0100
committerjbion <joffrey.bion@amadeus.com>2017-01-20 19:50:07 +0100
commit941cc5ff9fc59e2e39d5f458d9921b74d09b2f64 (patch)
treea6e9af050fa7b2a791f4dae911b78c967851ea15 /backend/build.gradle
parentRemove conflicting old index (diff)
downloadseven-wonders-941cc5ff9fc59e2e39d5f458d9921b74d09b2f64.tar.gz
seven-wonders-941cc5ff9fc59e2e39d5f458d9921b74d09b2f64.tar.bz2
seven-wonders-941cc5ff9fc59e2e39d5f458d9921b74d09b2f64.zip
Use the build folder to stay in the standard
Diffstat (limited to 'backend/build.gradle')
-rw-r--r--backend/build.gradle4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/build.gradle b/backend/build.gradle
index 61e8960b..b8331c28 100644
--- a/backend/build.gradle
+++ b/backend/build.gradle
@@ -35,10 +35,12 @@ dependencies {
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
+// packages the frontend app within the jar
jar {
- from('../frontend/dist') {
+ from('../frontend/build') {
into 'static'
}
}
+// make sure we build the frontend before creating the jar
jar.dependsOn(':frontend:assemble') \ No newline at end of file
bgstack15