update androidx media library and add core library desugaring

This commit is contained in:
dkanada 2021-05-16 12:07:22 +09:00
commit d2f3d45aa8

View file

@ -13,7 +13,7 @@ android {
multiDexEnabled true
vectorDrawables {
useSupportLibrary = true
useSupportLibrary true
}
}
@ -31,7 +31,7 @@ android {
}
buildFeatures {
viewBinding = true
viewBinding true
}
lintOptions {
@ -40,6 +40,8 @@ android {
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
@ -55,7 +57,7 @@ dependencies {
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.media:media:1.3.0'
implementation 'androidx.media:media:1.3.1'
implementation 'androidx.fragment:fragment-ktx:1.3.3'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
@ -85,6 +87,8 @@ dependencies {
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
annotationProcessor 'androidx.room:room-compiler:2.2.6'
implementation 'androidx.room:room-runtime:2.2.6'