Skip to content

Commit 314b8b1

Browse files
committed
➕ Add material-icons-core library dependency to fix sample
1 parent 3df0d2d commit 314b8b1

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ kotlinx-browser = "0.3"
2020
kotlinx-coroutines = "1.10.2"
2121
kotlinx-datetime = "0.6.2"
2222
kotlinx-io = "0.7.0"
23+
material-icons-core = "1.7.3"
2324
vanniktech-mavenPublish = "0.31.0"
2425

2526
[libraries]
@@ -45,6 +46,7 @@ kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-
4546
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" }
4647
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" }
4748
kotlinx-io = { module = "org.jetbrains.kotlinx:kotlinx-io-core", version.ref = "kotlinx-io" }
49+
material-icons-core = { module = "org.jetbrains.compose.material:material-icons-core", version.ref = "material-icons-core" }
4850

4951
[plugins]
5052
androidApplication = { id = "com.android.application", version.ref = "agp" }

samples/sample-compose/composeApp/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ kotlin {
7373

7474
// Coil
7575
implementation(libs.coil.compose)
76+
77+
// Icons
78+
implementation(libs.material.icons.core)
7679
}
7780

7881
val nonWebMain by creating {

samples/sample-core/composeApp/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ kotlin {
7474

7575
// Coil
7676
implementation(libs.coil.compose)
77+
78+
// Icons
79+
implementation(libs.material.icons.core)
7780
}
7881

7982
androidMain.dependencies {

0 commit comments

Comments
 (0)