Skip to content

Commit

Permalink
Add desugar_jdk_libs
Browse files Browse the repository at this point in the history
  • Loading branch information
markowanga committed Feb 19, 2022
1 parent 59aeeab commit ba52911
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ android {
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
Expand All @@ -43,6 +44,7 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
}

afterEvaluate {
Expand Down

0 comments on commit ba52911

Please sign in to comment.