summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-12-12 22:54:44 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-12-12 22:55:03 +0100
commit91df70b77eeb615767f8da700338587ab492fb87 (patch)
tree8d94da4cad25207fb3936704594e01ce474f7244
parentAdd Heroku release step in GitHub workflow (diff)
downloadseven-wonders-91df70b77eeb615767f8da700338587ab492fb87.tar.gz
seven-wonders-91df70b77eeb615767f8da700338587ab492fb87.tar.bz2
seven-wonders-91df70b77eeb615767f8da700338587ab492fb87.zip
Cleanup dependsOn sw-ui in sw-server
-rw-r--r--sw-server/build.gradle.kts4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-server/build.gradle.kts b/sw-server/build.gradle.kts
index 0b3e9482..38d48d9c 100644
--- a/sw-server/build.gradle.kts
+++ b/sw-server/build.gradle.kts
@@ -34,6 +34,8 @@ dependencies {
}
tasks.processResources {
+ // make sure we build the frontend before creating the jar
+ dependsOn(":sw-ui:assemble")
// package the frontend app within the jar as static
val frontendBuildDir = project(":sw-ui").buildDir
val frontendDist = frontendBuildDir.toPath().resolve("distributions")
@@ -42,8 +44,6 @@ tasks.processResources {
into("static")
}
}
-// make sure we build the frontend before creating the jar
-tasks.processResources.get().dependsOn(":sw-ui:assemble")
tasks.withType<Test> {
testLogging {
bgstack15