From 336fd05d8cd9758b2e5fa9ae737f7cb95f19d09f Mon Sep 17 00:00:00 2001 From: Rick Busarow Date: Wed, 4 Nov 2020 18:57:20 -0600 Subject: [PATCH 1/2] update coroutines to 1.4.1 --- buildSrc/src/main/kotlin/Dependencies.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 552d2e7b8..0e54b8287 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -58,7 +58,7 @@ object Versions { const val mavenPublish = "0.13.0" const val taskTree = "1.5" - const val versionName = "1.0.0-beta05" + const val versionName = "1.0.0-beta06" } object BuildPlugins { @@ -195,7 +195,7 @@ object Libs { object Kotlinx { object Coroutines { - private const val version = "1.4.0" + private const val version = "1.4.1" const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version" const val coreJvm = "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:$version" const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version" From 416601382ee55cb8669e64477fc0c336036ce557 Mon Sep 17 00:00:00 2001 From: Rick Busarow Date: Wed, 4 Nov 2020 18:58:46 -0600 Subject: [PATCH 2/2] update version to 1.0.0-beta06 --- CHANGELOG.md | 12 ++++++---- README.md | 22 +++++++++---------- dispatch-android-espresso/README.md | 8 +++---- .../README.md | 6 ++--- dispatch-android-lifecycle/README.md | 6 ++--- dispatch-android-viewmodel/README.md | 6 ++--- dispatch-core/README.md | 6 ++--- dispatch-detekt/README.md | 2 +- dispatch-test-junit4/README.md | 22 +++++++++---------- dispatch-test-junit5/README.md | 22 +++++++++---------- dispatch-test/README.md | 10 ++++----- docs/CHANGELOG.md | 12 ++++++---- docs/dispatch-android-espresso.md | 8 +++---- docs/dispatch-android-lifecycle-extensions.md | 6 ++--- docs/dispatch-android-lifecycle.md | 6 ++--- docs/dispatch-android-viewmodel.md | 6 ++--- docs/dispatch-core.md | 6 ++--- docs/dispatch-detekt.md | 2 +- docs/dispatch-test-junit4.md | 22 +++++++++---------- docs/dispatch-test-junit5.md | 22 +++++++++---------- docs/dispatch-test.md | 10 ++++----- docs/index.md | 22 +++++++++---------- gradle.properties | 2 +- 23 files changed, 127 insertions(+), 119 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb2e112ce..3f4412455 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,22 @@ # Change log for Dispatch +## Version 1.0.0-beta06 + +* Update to coroutines to [1.4.1](https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.4.1) in order to fix [an issue with SharedFlow](https://github.com/Kotlin/kotlinx.coroutines/pull/2359)([#189](https://github.com/RBusarow/Dispatch/issues/189)) + ## Version 1.0.0-beta05 ### Api changes -* [ViewLifecycleCoroutineScope] is a special [DispatchLifecycleScope] meant for binding a scope to a [Fragment]'s **view** lifecycle. ([#179](https://github.com/RBusarow/Dispatch/issues/179)) +* [ViewLifecycleCoroutineScope] is a special [DispatchLifecycleScope] meant for binding a scope to a [Fragment]'s **view** lifecycle. ([#179](https://github.com/RBusarow/Dispatch/issues/179)) * Make [testProvided] receive [TestProvidedCoroutineScope] ([#157](https://github.com/RBusarow/Dispatch/issues/157)) -* [LifecycleCoroutineScope] has been renamed to [DispatchLifecycleScope], along with its extension function. The old names are still functional with a deprecated typealias. They will be removed in the future. ([#186](https://github.com/RBusarow/Dispatch/pull/186)) +* [LifecycleCoroutineScope] has been renamed to [DispatchLifecycleScope], along with its extension function. The old names are still functional with a deprecated typealias. They will be removed in the future. ([#186](https://github.com/RBusarow/Dispatch/pull/186)) * [CoroutineViewModel] has been renamed to [DispatchViewModel]. The old names are still functional with a deprecated typealias. They will be removed in the future. ([#186](https://github.com/RBusarow/Dispatch/pull/186)) ### Bug fixes -* Use [currentCoroutineContext] to resolve the inner [CoroutineContext] in `flowOn___` functions. ([#181](https://github.com/RBusarow/Dispatch/issues/181)) +* Use [currentCoroutineContext] to resolve the inner [CoroutineContext] in `flowOn___` functions. ([#181](https://github.com/RBusarow/Dispatch/issues/181)) ### Housekeeping -* Set the project JDK target to 8. This only affects the build environment since all previous builds were done on a JDK 8 machine. ([#187](https://github.com/RBusarow/Dispatch/pull/187)) +* Set the project JDK target to 8. This only affects the build environment since all previous builds were done on a JDK 8 machine. ([#187](https://github.com/RBusarow/Dispatch/pull/187)) * Coroutines has been updated to 1.4.0 ([#183](https://github.com/RBusarow/Dispatch/pull/183)) * Detekt has been updated to 1.4.2 ([#184](https://github.com/RBusarow/Dispatch/pull/184)) * JUnit6 has been updated to 5.7.0 ([#178](https://github.com/RBusarow/Dispatch/pull/178)) diff --git a/README.md b/README.md index 9c11f2825..cd3fc5ebe 100644 --- a/README.md +++ b/README.md @@ -361,35 +361,35 @@ dependencies { */ // core coroutines - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") // everything provides :core via "api", so you only need this if you have no other "implementation" dispatch artifacts - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // LifecycleCoroutineScope for Android Fragments, Activities, etc. - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta06") // lifecycleScope extension function with a settable factory. Use this if you don't DI your CoroutineScopes // This provides :dispatch-android-lifecycle via "api", so you don't need to declare both - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta06") // ViewModelScope for Android ViewModels - implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta06") /* jvm testing */ // core coroutines-test - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") // you only need this if you don't have the -junit4 or -junit5 artifacts - testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta06") // CoroutineTestRule and :dispatch-test // This provides :dispatch-test via "api", so you don't need to declare both // This can be used at the same time as :dispatch-test-junit5 - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") // CoroutineTest, CoroutineTestExtension, and :dispatch-test // This provides :dispatch-test via "api", so you don't need to declare both // This can be used at the same time as :dispatch-test-junit4 - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") /* Android testing */ @@ -398,7 +398,7 @@ dependencies { androidTestImplementation("androidx.test:runner:1.3.0") androidTestImplementation("androidx.test.espresso:espresso-core:3.3.0") // IdlingDispatcher, IdlingDispatcherProvider, and IdlingCoroutineScope - androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta05") + androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta06") } ``` diff --git a/dispatch-android-espresso/README.md b/dispatch-android-espresso/README.md index e09d2396a..0ede519f8 100644 --- a/dispatch-android-espresso/README.md +++ b/dispatch-android-espresso/README.md @@ -88,11 +88,11 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") - androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta05") + androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta06") // android androidTestImplementation("androidx.test:runner:1.3.0") diff --git a/dispatch-android-lifecycle-extensions/README.md b/dispatch-android-lifecycle-extensions/README.md index f86fb1e70..aa4fca875 100644 --- a/dispatch-android-lifecycle-extensions/README.md +++ b/dispatch-android-lifecycle-extensions/README.md @@ -139,9 +139,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta06") implementation("androidx.lifecycle:lifecycle-common:2.2.0") } diff --git a/dispatch-android-lifecycle/README.md b/dispatch-android-lifecycle/README.md index 20f486bbc..b1c04728b 100644 --- a/dispatch-android-lifecycle/README.md +++ b/dispatch-android-lifecycle/README.md @@ -57,9 +57,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta06") implementation("androidx.lifecycle:lifecycle-common:2.2.0") } ``` diff --git a/dispatch-android-viewmodel/README.md b/dispatch-android-viewmodel/README.md index 9f4b4b7df..aad79f96c 100644 --- a/dispatch-android-viewmodel/README.md +++ b/dispatch-android-viewmodel/README.md @@ -176,9 +176,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta06") } ``` diff --git a/dispatch-core/README.md b/dispatch-core/README.md index e667b18cf..b2ca943d4 100644 --- a/dispatch-core/README.md +++ b/dispatch-core/README.md @@ -201,9 +201,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") } ``` diff --git a/dispatch-detekt/README.md b/dispatch-detekt/README.md index 5376a5442..8f742d8e4 100644 --- a/dispatch-detekt/README.md +++ b/dispatch-detekt/README.md @@ -34,7 +34,7 @@ allprojects { dependencies { detekt("io.gitlab.arturbosch.detekt:detekt-cli:1.14.2") - detektPlugins("com.rickbusarow.dispatch:dispatch-detekt:1.0.0-beta05") + detektPlugins("com.rickbusarow.dispatch:dispatch-detekt:1.0.0-beta06") } } ``` diff --git a/dispatch-test-junit4/README.md b/dispatch-test-junit4/README.md index 805eba148..da4560553 100644 --- a/dispatch-test-junit4/README.md +++ b/dispatch-test-junit4/README.md @@ -71,13 +71,13 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit4 artifact also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` @@ -95,14 +95,14 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit4 and junit5 artifacts also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` diff --git a/dispatch-test-junit5/README.md b/dispatch-test-junit5/README.md index d19725aef..56ddfa9a8 100644 --- a/dispatch-test-junit5/README.md +++ b/dispatch-test-junit5/README.md @@ -101,13 +101,13 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit5 artifact also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") testImplementation("org.junit.jupiter:junit-jupiter:5.7.0") } ``` @@ -126,16 +126,16 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit4 and junit5 artifacts also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") testImplementation("org.junit.jupiter:junit-jupiter:5.7.0") testImplementation("org.junit.vintage:junit-vintage-engine:5.7.0") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` diff --git a/dispatch-test/README.md b/dispatch-test/README.md index dd555772b..dc9a53abd 100644 --- a/dispatch-test/README.md +++ b/dispatch-test/README.md @@ -120,12 +120,12 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") - testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index bb2e112ce..3f4412455 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,18 +1,22 @@ # Change log for Dispatch +## Version 1.0.0-beta06 + +* Update to coroutines to [1.4.1](https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.4.1) in order to fix [an issue with SharedFlow](https://github.com/Kotlin/kotlinx.coroutines/pull/2359)([#189](https://github.com/RBusarow/Dispatch/issues/189)) + ## Version 1.0.0-beta05 ### Api changes -* [ViewLifecycleCoroutineScope] is a special [DispatchLifecycleScope] meant for binding a scope to a [Fragment]'s **view** lifecycle. ([#179](https://github.com/RBusarow/Dispatch/issues/179)) +* [ViewLifecycleCoroutineScope] is a special [DispatchLifecycleScope] meant for binding a scope to a [Fragment]'s **view** lifecycle. ([#179](https://github.com/RBusarow/Dispatch/issues/179)) * Make [testProvided] receive [TestProvidedCoroutineScope] ([#157](https://github.com/RBusarow/Dispatch/issues/157)) -* [LifecycleCoroutineScope] has been renamed to [DispatchLifecycleScope], along with its extension function. The old names are still functional with a deprecated typealias. They will be removed in the future. ([#186](https://github.com/RBusarow/Dispatch/pull/186)) +* [LifecycleCoroutineScope] has been renamed to [DispatchLifecycleScope], along with its extension function. The old names are still functional with a deprecated typealias. They will be removed in the future. ([#186](https://github.com/RBusarow/Dispatch/pull/186)) * [CoroutineViewModel] has been renamed to [DispatchViewModel]. The old names are still functional with a deprecated typealias. They will be removed in the future. ([#186](https://github.com/RBusarow/Dispatch/pull/186)) ### Bug fixes -* Use [currentCoroutineContext] to resolve the inner [CoroutineContext] in `flowOn___` functions. ([#181](https://github.com/RBusarow/Dispatch/issues/181)) +* Use [currentCoroutineContext] to resolve the inner [CoroutineContext] in `flowOn___` functions. ([#181](https://github.com/RBusarow/Dispatch/issues/181)) ### Housekeeping -* Set the project JDK target to 8. This only affects the build environment since all previous builds were done on a JDK 8 machine. ([#187](https://github.com/RBusarow/Dispatch/pull/187)) +* Set the project JDK target to 8. This only affects the build environment since all previous builds were done on a JDK 8 machine. ([#187](https://github.com/RBusarow/Dispatch/pull/187)) * Coroutines has been updated to 1.4.0 ([#183](https://github.com/RBusarow/Dispatch/pull/183)) * Detekt has been updated to 1.4.2 ([#184](https://github.com/RBusarow/Dispatch/pull/184)) * JUnit6 has been updated to 5.7.0 ([#178](https://github.com/RBusarow/Dispatch/pull/178)) diff --git a/docs/dispatch-android-espresso.md b/docs/dispatch-android-espresso.md index e09d2396a..0ede519f8 100644 --- a/docs/dispatch-android-espresso.md +++ b/docs/dispatch-android-espresso.md @@ -88,11 +88,11 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") - androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta05") + androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta06") // android androidTestImplementation("androidx.test:runner:1.3.0") diff --git a/docs/dispatch-android-lifecycle-extensions.md b/docs/dispatch-android-lifecycle-extensions.md index f86fb1e70..aa4fca875 100644 --- a/docs/dispatch-android-lifecycle-extensions.md +++ b/docs/dispatch-android-lifecycle-extensions.md @@ -139,9 +139,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta06") implementation("androidx.lifecycle:lifecycle-common:2.2.0") } diff --git a/docs/dispatch-android-lifecycle.md b/docs/dispatch-android-lifecycle.md index 20f486bbc..b1c04728b 100644 --- a/docs/dispatch-android-lifecycle.md +++ b/docs/dispatch-android-lifecycle.md @@ -57,9 +57,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta06") implementation("androidx.lifecycle:lifecycle-common:2.2.0") } ``` diff --git a/docs/dispatch-android-viewmodel.md b/docs/dispatch-android-viewmodel.md index 9f4b4b7df..aad79f96c 100644 --- a/docs/dispatch-android-viewmodel.md +++ b/docs/dispatch-android-viewmodel.md @@ -176,9 +176,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta06") } ``` diff --git a/docs/dispatch-core.md b/docs/dispatch-core.md index e667b18cf..b2ca943d4 100644 --- a/docs/dispatch-core.md +++ b/docs/dispatch-core.md @@ -201,9 +201,9 @@ repositories { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") } ``` diff --git a/docs/dispatch-detekt.md b/docs/dispatch-detekt.md index 5376a5442..8f742d8e4 100644 --- a/docs/dispatch-detekt.md +++ b/docs/dispatch-detekt.md @@ -34,7 +34,7 @@ allprojects { dependencies { detekt("io.gitlab.arturbosch.detekt:detekt-cli:1.14.2") - detektPlugins("com.rickbusarow.dispatch:dispatch-detekt:1.0.0-beta05") + detektPlugins("com.rickbusarow.dispatch:dispatch-detekt:1.0.0-beta06") } } ``` diff --git a/docs/dispatch-test-junit4.md b/docs/dispatch-test-junit4.md index 805eba148..da4560553 100644 --- a/docs/dispatch-test-junit4.md +++ b/docs/dispatch-test-junit4.md @@ -71,13 +71,13 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit4 artifact also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` @@ -95,14 +95,14 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit4 and junit5 artifacts also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` diff --git a/docs/dispatch-test-junit5.md b/docs/dispatch-test-junit5.md index d19725aef..56ddfa9a8 100644 --- a/docs/dispatch-test-junit5.md +++ b/docs/dispatch-test-junit5.md @@ -101,13 +101,13 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit5 artifact also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") testImplementation("org.junit.jupiter:junit-jupiter:5.7.0") } ``` @@ -126,16 +126,16 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // the junit4 and junit5 artifacts also provides the dispatch-test artifact - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") testImplementation("org.junit.jupiter:junit-jupiter:5.7.0") testImplementation("org.junit.vintage:junit-vintage-engine:5.7.0") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` diff --git a/docs/dispatch-test.md b/docs/dispatch-test.md index dd555772b..dc9a53abd 100644 --- a/docs/dispatch-test.md +++ b/docs/dispatch-test.md @@ -120,12 +120,12 @@ repositories { dependencies { // core - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") - testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta05") - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta06") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") } ``` diff --git a/docs/index.md b/docs/index.md index 9c11f2825..cd3fc5ebe 100644 --- a/docs/index.md +++ b/docs/index.md @@ -361,35 +361,35 @@ dependencies { */ // core coroutines - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1") // everything provides :core via "api", so you only need this if you have no other "implementation" dispatch artifacts - implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-core:1.0.0-beta06") // LifecycleCoroutineScope for Android Fragments, Activities, etc. - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle:1.0.0-beta06") // lifecycleScope extension function with a settable factory. Use this if you don't DI your CoroutineScopes // This provides :dispatch-android-lifecycle via "api", so you don't need to declare both - implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-android-lifecycle-extensions:1.0.0-beta06") // ViewModelScope for Android ViewModels - implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta05") + implementation("com.rickbusarow.dispatch:dispatch-android-viewmodel:1.0.0-beta06") /* jvm testing */ // core coroutines-test - testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0") + testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.1") // you only need this if you don't have the -junit4 or -junit5 artifacts - testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test:1.0.0-beta06") // CoroutineTestRule and :dispatch-test // This provides :dispatch-test via "api", so you don't need to declare both // This can be used at the same time as :dispatch-test-junit5 - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit4:1.0.0-beta06") // CoroutineTest, CoroutineTestExtension, and :dispatch-test // This provides :dispatch-test via "api", so you don't need to declare both // This can be used at the same time as :dispatch-test-junit4 - testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta05") + testImplementation("com.rickbusarow.dispatch:dispatch-test-junit5:1.0.0-beta06") /* Android testing */ @@ -398,7 +398,7 @@ dependencies { androidTestImplementation("androidx.test:runner:1.3.0") androidTestImplementation("androidx.test.espresso:espresso-core:3.3.0") // IdlingDispatcher, IdlingDispatcherProvider, and IdlingCoroutineScope - androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta05") + androidTestImplementation("com.rickbusarow.dispatch:dispatch-android-espresso:1.0.0-beta06") } ``` diff --git a/gradle.properties b/gradle.properties index 1c12be5fb..0bd4ce6ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,7 +24,7 @@ android.enableJetifier=false android.lifecycleProcessor.incremental=true # Maven GROUP=com.rickbusarow.dispatch -VERSION_NAME=1.0.0-beta05 +VERSION_NAME=1.0.0-beta06 POM_DESCRIPTION=Quality of life coroutine utilities. POM_INCEPTION_YEAR=2019 POM_URL=https://github.com/rbusarow/Dispatch