From 91df70b77eeb615767f8da700338587ab492fb87 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Sat, 12 Dec 2020 22:54:44 +0100 Subject: Cleanup dependsOn sw-ui in sw-server --- sw-server/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-server/build.gradle.kts') 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 { testLogging { -- cgit