🍱 Gradle installerer dependencies før build av frontend
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no> Co-authored-by: Hege Haavaldsen <hege.haavaldsen@nav.no> Co-authored-by: Helene Arnesen <helene.arnesen@nav.no> Co-authored-by: Øydis Kind Refsum <oydis.kind.refsum@nav.no> Co-authored-by: Christian Bulow Skovborg <christian.bulow.skovborg@nav.no>
This commit is contained in:
parent
7e1464e0f7
commit
497ac4dd6a
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ tasks {
|
|||
kotlinOptions.jvmTarget = "17"
|
||||
}
|
||||
jar {
|
||||
mustRunAfter(":frontend:yarn_build")
|
||||
mustRunAfter(":frontend:yarn", ":frontend:yarn_build")
|
||||
archiveBaseName.set("app")
|
||||
|
||||
manifest {
|
||||
|
|
|
@ -4,7 +4,7 @@ plugins {
|
|||
}
|
||||
|
||||
tasks.assemble {
|
||||
dependsOn("yarn_build")
|
||||
dependsOn("yarn", "yarn_build")
|
||||
}
|
||||
|
||||
project.buildDir = File("next")
|
||||
project.buildDir = File(".next")
|
Reference in a new issue