From 52c993ac95c783726e9035272d53003f3f84b747 Mon Sep 17 00:00:00 2001 From: David Herman Date: Sat, 30 Mar 2024 22:06:30 -0700 Subject: [PATCH] Simplify README around using kotlin("test") --- README.md | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index a1a38ca..4cbba84 100644 --- a/README.md +++ b/README.md @@ -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! } } ``` @@ -175,4 +160,4 @@ dependencies { // If used in tests run on the device androidTestImplementation("com.varabyte.truthish:truthish:0.6.5") } -``` \ No newline at end of file +```