Skip to content

Commit

Permalink
Clean up source set configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cketti committed May 14, 2024
1 parent e345e60 commit 6295ee2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions kotlin-codepoints-deluxe/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ kotlin {
watchosSimulatorArm64()

sourceSets {
val commonMain by getting {
commonMain {
dependencies {
api(project(":kotlin-codepoints"))
}
}
val commonTest by getting {

commonTest {
dependencies {
implementation(kotlin("test"))
}
Expand Down
5 changes: 2 additions & 3 deletions kotlin-codepoints/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,14 @@ kotlin {
watchosSimulatorArm64()

sourceSets {
val commonMain by getting
val commonTest by getting {
commonTest {
dependencies {
implementation(kotlin("test"))
}
}

val commonImplementation by creating {
dependsOn(commonMain)
dependsOn(commonMain.get())
}
}

Expand Down

0 comments on commit 6295ee2

Please sign in to comment.