Update AndroidX Lifecycle to 2.2.0

This commit is contained in:
cketti 2020-02-06 16:22:51 +01:00
parent dbf1873251
commit c1c57cfd8d
4 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,8 @@ dependencies {
implementation "com.google.android.material:material:${versions.materialComponents}"
implementation "androidx.navigation:navigation-fragment-ktx:${versions.androidxNavigation}"
implementation "androidx.navigation:navigation-ui-ktx:${versions.androidxNavigation}"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidxLifecycle}"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:${versions.androidxLifecycle}"
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
testImplementation "junit:junit:${versions.junit}"

View file

@ -22,8 +22,7 @@ dependencies {
implementation "com.takisoft.preferencex:preferencex-colorpicker:${versions.preferencesFix}"
implementation "com.takisoft.preferencex:preferencex-ringtone:${versions.preferencesFix}"
implementation "androidx.recyclerview:recyclerview:${versions.androidxRecyclerView}"
implementation "androidx.lifecycle:lifecycle-extensions:${versions.androidxLifecycleExtensions}"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidxLifecycle}"
implementation "androidx.navigation:navigation-fragment-ktx:${versions.androidxNavigation}"
implementation "androidx.navigation:navigation-ui-ktx:${versions.androidxNavigation}"
implementation "androidx.constraintlayout:constraintlayout:${versions.androidxConstraintLayout}"

View file

@ -12,7 +12,7 @@ buildscript {
'kotlin': '1.3.61',
'androidxAppCompat': '1.1.0',
'androidxRecyclerView': '1.1.0',
'androidxLifecycleExtensions': '2.1.0',
'androidxLifecycle': '2.2.0',
'androidxAnnotation': '1.0.1',
'androidxNavigation': '2.1.0',
'androidxConstraintLayout': '1.1.3',

View file

@ -15,7 +15,7 @@ android {
}
dependencies {
implementation "androidx.lifecycle:lifecycle-extensions:${versions.androidxLifecycleExtensions}"
implementation "androidx.lifecycle:lifecycle-common:${versions.androidxLifecycle}"
implementation "com.jakewharton.timber:timber:${versions.timber}"
implementation "com.takisoft.preferencex:preferencex:${versions.preferencesFix}"
}