Skip to content

Commit 1bb48d3

Browse files
committed
Fix similarly for the Material 3 module
1 parent c810865 commit 1bb48d3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

common/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ kotlin {
5555
api(compose.html.core)
5656
// see: https://github.com/varabyte/kobweb/blob/main/frontend/kobweb-compose/build.gradle.kts
5757
api("com.varabyte.kobweb:kobweb-compose:${DependencyVersions.kobweb}") { exclude("org.jetbrains.kotlin") }
58-
implementation("com.huanshankeji:compose-html-common:${DependencyVersions.huanshankejiComposeHtml}") { exclude("org.jetbrains.kotlin") }
58+
implementation("com.huanshankeji:compose-html-common:${DependencyVersions.huanshankejiComposeHtml}") {
59+
exclude("org.jetbrains.kotlin")
60+
}
5961

6062
/*
6163
The UI module depends on the lifecycle module to use `androidx.lifecycle.ViewModelStoreOwner`.

material3/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ kotlin {
3535
}
3636
jsMain {
3737
dependencies {
38-
api("com.huanshankeji:compose-html-material3:${DependencyVersions.huanshankejiComposeHtml}")
39-
implementation("com.huanshankeji:compose-html-common:${DependencyVersions.huanshankejiComposeHtml}")
38+
api("com.huanshankeji:compose-html-material3:${DependencyVersions.huanshankejiComposeHtml}") { exclude("org.jetbrains.kotlin") }
39+
implementation("com.huanshankeji:compose-html-common:${DependencyVersions.huanshankejiComposeHtml}") {
40+
exclude("org.jetbrains.kotlin")
41+
}
4042
}
4143
}
4244
}

0 commit comments

Comments
 (0)