From 9cf3db2647bfcfbd439a2fcf4068afe1f181eb68 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Oct 2025 17:56:14 +0000 Subject: [PATCH 1/2] Initial plan From 1a009693fc4bc4595d4cf552889f4be50578a2ce Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:02:35 +0000 Subject: [PATCH 2/2] Fix configuration-time resolution warning by using tasks.named() instead of tasks.getting() Co-authored-by: ShreckYe <27768951+ShreckYe@users.noreply.github.com> --- demo/build.gradle.kts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/demo/build.gradle.kts b/demo/build.gradle.kts index aaef611..91367ca 100644 --- a/demo/build.gradle.kts +++ b/demo/build.gradle.kts @@ -112,17 +112,14 @@ android { } } -val jsBrowserDistribution by tasks.getting(Sync::class) -val wasmJsBrowserDistribution by tasks.getting(Sync::class) - tasks.register("sideBySideBrowserDistribution") { group = "kotlin browser" into(layout.buildDirectory.dir("dist/sideBySide/productionExecutable")) - from(jsBrowserDistribution) { + from(tasks.named("jsBrowserDistribution")) { into("js-dom") } - from(wasmJsBrowserDistribution) { + from(tasks.named("wasmJsBrowserDistribution")) { into("wasm-js-canvas") } from(projectDir.resolve("side-by-side-site"))