From 10b2b8ea588038b594cc44b701f5476eb2aa69eb Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Thu, 3 Feb 2022 14:03:00 +0300 Subject: [PATCH] Proper deps --- components/Kapp/demo/build.gradle.kts | 9 +++++++-- components/Kapp/demo/src/jsMain/resources/index.html | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/components/Kapp/demo/build.gradle.kts b/components/Kapp/demo/build.gradle.kts index 4ffdf44559..6b8d1375bc 100644 --- a/components/Kapp/demo/build.gradle.kts +++ b/components/Kapp/demo/build.gradle.kts @@ -43,14 +43,19 @@ kotlin { } sourceSets { - val desktopMain by getting - val commonMain by getting { dependencies { implementation(project(":Kapp:library")) } } + val desktopMain by getting { + dependsOn(commonMain) + dependencies { + implementation(compose.desktop.currentOs) + } + } + val jsMain by getting if (withNative) { diff --git a/components/Kapp/demo/src/jsMain/resources/index.html b/components/Kapp/demo/src/jsMain/resources/index.html index 7ee2aa6750..7db3f7dfd2 100644 --- a/components/Kapp/demo/src/jsMain/resources/index.html +++ b/components/Kapp/demo/src/jsMain/resources/index.html @@ -7,7 +7,7 @@ -

compose multiplatform web demo

+

Web KApp Demo