Update AndroidX to fix icon crashes in preferences on API 19
Also remove legacy libraries Use `androidx.preference:preference` instead of `androidx.legacy:legacy-preference-v14` and remove `androidx.legacy:legacy-support-v4
This commit is contained in:
parent
631dfee763
commit
b5c60d2be2
|
@ -80,7 +80,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
androidxLibVersion = '1.0.0'
|
androidxLibVersion = '1.1.0'
|
||||||
exoPlayerLibVersion = '2.11.4'
|
exoPlayerLibVersion = '2.11.4'
|
||||||
roomDbLibVersion = '2.1.0'
|
roomDbLibVersion = '2.1.0'
|
||||||
leakCanaryLibVersion = '1.5.4' //1.6.1
|
leakCanaryLibVersion = '1.5.4' //1.6.1
|
||||||
|
@ -153,13 +153,12 @@ dependencies {
|
||||||
testImplementation 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
testImplementation 'org.mockito:mockito-core:2.23.0'
|
testImplementation 'org.mockito:mockito-core:2.23.0'
|
||||||
|
|
||||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
implementation "androidx.appcompat:appcompat:${androidxLibVersion}"
|
||||||
implementation "androidx.legacy:legacy-support-v4:${androidxLibVersion}"
|
|
||||||
implementation "com.google.android.material:material:${androidxLibVersion}"
|
implementation "com.google.android.material:material:${androidxLibVersion}"
|
||||||
implementation "androidx.recyclerview:recyclerview:${androidxLibVersion}"
|
implementation "androidx.recyclerview:recyclerview:${androidxLibVersion}"
|
||||||
implementation "androidx.legacy:legacy-preference-v14:${androidxLibVersion}"
|
implementation "androidx.preference:preference:${androidxLibVersion}"
|
||||||
implementation "androidx.cardview:cardview:${androidxLibVersion}"
|
implementation "androidx.cardview:cardview:1.0.0"
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
implementation "androidx.constraintlayout:constraintlayout:1.1.3"
|
||||||
|
|
||||||
implementation 'com.xwray:groupie:2.7.0'
|
implementation 'com.xwray:groupie:2.7.0'
|
||||||
implementation 'com.xwray:groupie-kotlin-android-extensions:2.7.0'
|
implementation 'com.xwray:groupie-kotlin-android-extensions:2.7.0'
|
||||||
|
|
Loading…
Reference in New Issue