Skip to content

Commit 52c993a

Browse files
committed
Simplify README around using kotlin("test")
1 parent 38a46f9 commit 52c993a

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

README.md

+4-19
Original file line numberDiff line numberDiff line change
@@ -111,25 +111,10 @@ kotlin {
111111
android()
112112

113113
sourceSets {
114-
val commonTest by getting {
115-
dependencies {
116-
implementation("com.varabyte.truthish:truthish:0.6.5")
117-
}
114+
commonTest.dependencies {
115+
implementation("com.varabyte.truthish:truthish:0.6.5")
116+
implementation(kotlin("test"))
118117
}
119-
120-
val jvmTest by getting {
121-
dependencies {
122-
implementation(kotlin("test"))
123-
}
124-
}
125-
126-
val jsTest by getting {
127-
dependencies {
128-
implementation(kotlin("test-js"))
129-
}
130-
}
131-
132-
// Other configurations don't seem to need a kotlin("test") dependency, nice!
133118
}
134119
}
135120
```
@@ -175,4 +160,4 @@ dependencies {
175160
// If used in tests run on the device
176161
androidTestImplementation("com.varabyte.truthish:truthish:0.6.5")
177162
}
178-
```
163+
```

0 commit comments

Comments
 (0)