Skip to content

Commit f6a3559

Browse files
committed
chore: fix build config
1 parent 43d316d commit f6a3559

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

backend/jvm/build.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,13 @@ dependencies {
233233
testImplementation(libs.kubernetes.client)
234234
testImplementation(libs.konsist)
235235

236-
// Copy js and wasm apps
237-
jsApp(project(path = projects.web.identityPath.path, configuration = "jsApp"))
238-
wasmApp(project(path = projects.web.identityPath.path, configuration = "wasmApp"))
239-
composeWebApp(
240-
project(path = projects.compose.cmp.identityPath.path, configuration = "composeWebApp"))
236+
// Copy js, wasm, compose apps
237+
findProject(":web")?.let {
238+
jsApp(project(path = it.path, configuration = "jsApp"))
239+
wasmApp(project(path = it.path, configuration = "wasmApp"))
240+
}
241+
242+
findProject(":compose:cmp")?.let { project(path = it.path, configuration = "composeWebApp") }
241243

242244
// Specify the classifier using variantOf
243245
// implementation(variantOf(libs.lwjgl.opengl) { classifier("natives-linux") })

0 commit comments

Comments
 (0)