Skip to content

Commit 9c934fc

Browse files
committed
Simplify source set DSL
1 parent 4586988 commit 9c934fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

grid/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ kotlin {
2828
}
2929

3030
sourceSets {
31-
val commonMain by getting {
31+
commonMain {
3232
dependencies {
3333
implementation(libs.compose.multiplatform.runtime)
3434
implementation(libs.compose.multiplatform.foundation)
3535
implementation(libs.compose.multiplatform.ui.util)
3636
}
3737
}
3838

39-
val androidMain by getting {
39+
androidMain {
4040
dependencies {
4141
implementation(libs.androidx.core)
4242
implementation(libs.compose.android.runtime)

samples/shared/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ kotlin {
2828
}
2929

3030
sourceSets {
31-
val commonMain by getting {
31+
commonMain {
3232
dependencies {
3333
implementation(libs.compose.multiplatform.runtime)
3434
implementation(libs.compose.multiplatform.foundation)
@@ -41,7 +41,7 @@ kotlin {
4141
}
4242
}
4343

44-
val androidMain by getting {
44+
androidMain {
4545
dependencies {
4646
implementation(libs.androidx.core)
4747
}

0 commit comments

Comments
 (0)