Skip to content

Commit 6295ee2

Browse files
committed
Clean up source set configuration
1 parent e345e60 commit 6295ee2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

kotlin-codepoints-deluxe/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ kotlin {
4747
watchosSimulatorArm64()
4848

4949
sourceSets {
50-
val commonMain by getting {
50+
commonMain {
5151
dependencies {
5252
api(project(":kotlin-codepoints"))
5353
}
5454
}
55-
val commonTest by getting {
55+
56+
commonTest {
5657
dependencies {
5758
implementation(kotlin("test"))
5859
}

kotlin-codepoints/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,14 @@ kotlin {
4949
watchosSimulatorArm64()
5050

5151
sourceSets {
52-
val commonMain by getting
53-
val commonTest by getting {
52+
commonTest {
5453
dependencies {
5554
implementation(kotlin("test"))
5655
}
5756
}
5857

5958
val commonImplementation by creating {
60-
dependsOn(commonMain)
59+
dependsOn(commonMain.get())
6160
}
6261
}
6362

0 commit comments

Comments
 (0)