Skip to content

Commit

Permalink
fix: Enable desugaring to add missing NIO API in old device
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaass committed Feb 8, 2024
1 parent 0e3a520 commit 871fdae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
coreLibraryDesugaringEnabled true
}

configurations {
Expand All @@ -55,6 +56,7 @@ dependencies {
implementation 'androidx.recyclerview:recyclerview:1.3.0'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation 'commons-io:commons-io:2.11.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.0.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
Expand Down

0 comments on commit 871fdae

Please sign in to comment.