Added Java 8+ API desugaring, so we can use Java 8+ features on any API

This commit is contained in:
Prathamesh More 2021-12-31 11:51:50 +05:30
parent 7db6186ff8
commit ab5015d4b1

View file

@ -57,6 +57,8 @@ android {
abortOnError false
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
@ -149,6 +151,8 @@ dependencies {
kapt 'com.github.bumptech.glide:compiler:4.12.0'
implementation 'com.github.bumptech.glide:okhttp3-integration:4.12.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0'
implementation 'com.github.bosphere.android-fadingedgelayout:fadingedgelayout:1.0.0'