diff --git a/app/build.gradle b/app/build.gradle index 965d9a3..a561575 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,6 +27,12 @@ } } +kotlin { + experimental { + coroutines 'enable' + } +} + dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" @@ -65,4 +71,8 @@ implementation 'io.reactivex.rxjava2:rxjava:2.1.6' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'io.reactivex.rxjava2:rxkotlin:2.2.0' + + // Kotlin coroutines + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.21" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.21" }