androidx.lifecycle:lifecycle-extensions is deprecated

See https://developer.android.com/jetpack/androidx/releases/lifecycle#declaring_dependencies
This commit is contained in:
Benoit Marty 2021-11-09 15:06:49 +01:00 committed by Benoit Marty
parent a1c8835f31
commit a1630b5546
3 changed files with 1 additions and 4 deletions

View file

@ -55,7 +55,6 @@ ext.libs = [
'autoFill' : "androidx.autofill:autofill:1.1.0",
'preferenceKtx' : "androidx.preference:preference-ktx:1.1.1",
'junit' : "androidx.test.ext:junit:1.1.3",
'lifecycleExtensions' : "androidx.lifecycle:lifecycle-extensions:2.2.0", // 2.4.0 not available yet?
'lifecycleJava8' : "androidx.lifecycle:lifecycle-common-java8:$lifecycle",
'lifecycleLivedata' : "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle",
'datastore' : "androidx.datastore:datastore:1.0.0",

View file

@ -106,8 +106,7 @@ dependencies {
implementation libs.androidx.appCompat
implementation libs.androidx.core
implementation libs.androidx.lifecycleExtensions
implementation libs.androidx.lifecycleJava8
implementation libs.androidx.lifecycleJava8
// Network
implementation libs.squareup.retrofit

View file

@ -356,7 +356,6 @@ dependencies {
implementation libs.squareup.moshi
kapt libs.squareup.moshiKotlin
implementation libs.androidx.lifecycleExtensions
implementation libs.androidx.lifecycleLivedata
implementation libs.androidx.datastore