Skip to content

Commit

Permalink
Simplify README around using kotlin("test")
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspittle committed Mar 31, 2024
1 parent 38a46f9 commit 52c993a
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,25 +111,10 @@ kotlin {
android()

sourceSets {
val commonTest by getting {
dependencies {
implementation("com.varabyte.truthish:truthish:0.6.5")
}
commonTest.dependencies {
implementation("com.varabyte.truthish:truthish:0.6.5")
implementation(kotlin("test"))
}

val jvmTest by getting {
dependencies {
implementation(kotlin("test"))
}
}

val jsTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}

// Other configurations don't seem to need a kotlin("test") dependency, nice!
}
}
```
Expand Down Expand Up @@ -175,4 +160,4 @@ dependencies {
// If used in tests run on the device
androidTestImplementation("com.varabyte.truthish:truthish:0.6.5")
}
```
```

0 comments on commit 52c993a

Please sign in to comment.