From 497ac4dd6ad1c80c16d161af8098e7ed8126c5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amalie=20Mans=C3=A5ker?= Date: Wed, 12 Jul 2023 14:49:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B1=20Gradle=20installerer=20dependenc?= =?UTF-8?q?ies=20f=C3=B8r=20build=20av=20frontend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Markus A. R. Johansen Co-authored-by: Hege Haavaldsen Co-authored-by: Helene Arnesen Co-authored-by: Øydis Kind Refsum Co-authored-by: Christian Bulow Skovborg --- backend/build.gradle.kts | 2 +- frontend/build.gradle.kts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts index 8bbbf8e..2f009f6 100644 --- a/backend/build.gradle.kts +++ b/backend/build.gradle.kts @@ -56,7 +56,7 @@ tasks { kotlinOptions.jvmTarget = "17" } jar { - mustRunAfter(":frontend:yarn_build") + mustRunAfter(":frontend:yarn", ":frontend:yarn_build") archiveBaseName.set("app") manifest { diff --git a/frontend/build.gradle.kts b/frontend/build.gradle.kts index 9d042b2..9b4b519 100644 --- a/frontend/build.gradle.kts +++ b/frontend/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } tasks.assemble { - dependsOn("yarn_build") + dependsOn("yarn", "yarn_build") } -project.buildDir = File("next") \ No newline at end of file +project.buildDir = File(".next") \ No newline at end of file