Added the Kotlin coroutines library.

This commit is contained in:
Severiano Jaramillo 2019-04-26 12:23:26 -05:00
parent aca43cfb9d
commit 4ed2eba66a
2 changed files with 11 additions and 2 deletions

View file

@ -85,6 +85,10 @@ dependencies {
// AAC Navigation
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
// Kotlin Coroutines
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version_coroutine"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version_coroutine"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0-alpha04"
// RxBindings
implementation "com.jakewharton.rxbinding3:rxbinding:$rx_bindings_version"
implementation "com.jakewharton.rxbinding3:rxbinding-material:$rx_bindings_version" // Material Components widgets

View file

@ -1,8 +1,13 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.21'
ext.nav_version = '2.0.0'
ext {
kotlin_version = '1.3.31'
nav_version = '2.0.0'
version_coroutine = "1.1.0"
}
repositories {
google()
jcenter()