From 7593e6002db442e1ec8ee2ec48a017bc2aa68af5 Mon Sep 17 00:00:00 2001 From: Sebastian Aigner Date: Tue, 10 Oct 2023 15:04:03 +0200 Subject: [PATCH 1/2] Update README with Kotlin-DSL compatible snippets --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dca243f4..be58f8e8 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ repositories { mavenCentral() } dependencies { - testImplementation 'app.cash.turbine:turbine:1.0.0' + testImplementation("app.cash.turbine:turbine:1.0.0") } ``` @@ -30,14 +30,14 @@ dependencies { Snapshots of the development version are available in Sonatype's snapshots repository.

-```groovy +```kotlin repositories { maven { - url 'https://oss.sonatype.org/content/repositories/snapshots/' + url = uri("https://oss.sonatype.org/content/repositories/snapshots/") } } dependencies { - testImplementation 'app.cash.turbine:turbine:1.1.0-SNAPSHOT' + testImplementation("app.cash.turbine:turbine:1.1.0-SNAPSHOT") } ``` From f6d968a2cc802cb2f691b0ffca08971cd964a586 Mon Sep 17 00:00:00 2001 From: Sebastian Aigner Date: Thu, 11 Jan 2024 15:57:05 +0100 Subject: [PATCH 2/2] Change snippet language from Groovy to Kotlin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be58f8e8..4e66f28b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ flowOf("one", "two").test { ## Download -```groovy +```kotlin repositories { mavenCentral() }