Эх сурвалжийг харах

Downgrade coroutines and flow-preferences

arkon 4 жил өмнө
parent
commit
b47ee8857b
1 өөрчлөгдсөн 4 нэмэгдсэн , 3 устгасан
  1. 4 3
      app/build.gradle

+ 4 - 3
app/build.gradle

@@ -117,7 +117,7 @@ android {
     }
 
     kotlinOptions {
-        jvmTarget = "1.8"
+        jvmTarget = JavaVersion.VERSION_1_8.toString()
     }
 }
 
@@ -200,7 +200,7 @@ dependencies {
     implementation 'io.requery:sqlite-android:3.32.2'
 
     // 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'
@@ -276,7 +276,8 @@ dependencies {
 
     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
 
-    final coroutines_version = '1.3.8'
+    // 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"