diff --git a/app/build.gradle b/app/build.gradle index a28bd28a..f0b5e4d2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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'