Skip to content

Commit

Permalink
Simplify the build.gradle.kts with latest practices
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspittle committed Mar 31, 2024
1 parent aec7ee9 commit 90fca00
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,38 +79,8 @@ kotlin {
}

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

val jvmMain by getting
val jvmTest by getting {
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-junit"))
}
}
val jsMain by getting
val jsTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}

val androidMain by getting
val androidUnitTest by getting {
dependencies {
implementation(kotlin("test-junit"))
}
}
val androidInstrumentedTest by getting {
dependencies {
implementation(kotlin("test-junit"))
}
commonTest.dependencies {
implementation(kotlin("test"))
}
}
}
Expand Down

0 comments on commit 90fca00

Please sign in to comment.