From 03b3046ecef66f24d077978c2f30b8684b1f6f98 Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 31 Jul 2020 15:31:42 -0400 Subject: [PATCH] Downgrade coroutines and flow-preferences (cherry picked from commit b47ee8857bd4198b803acd171d419837f793055d) # Conflicts: # app/build.gradle --- app/build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bcc66f8cd..7655e630e 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -128,7 +128,7 @@ android { } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = JavaVersion.VERSION_1_8.toString() } } @@ -217,7 +217,7 @@ dependencies { implementation 'io.requery:sqlite-android:3.31.0' // Preferences - implementation 'com.github.tfcporciuncula:flow-preferences:1.3.0' + implementation 'com.github.tfcporciuncula:flow-preferences:1.1.1' // Model View Presenter final nucleus_version = '3.0.0' @@ -295,7 +295,9 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - final coroutines_version = '1.3.7' + + // Do not update until we bump to Kotlin 1.4, see https://github.com/Kotlin/kotlinx.coroutines/issues/2049 + final coroutines_version = '1.3.6' implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-reactive:$coroutines_version"