Skip to content

Commit

Permalink
fix time dependancy for ftp not existing in java17
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Jan 1, 2024
1 parent 3071fd3 commit 3db4e20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ android {
}

compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
Expand Down Expand Up @@ -104,7 +103,6 @@ dependencies {
api 'eu.agno3.jcifs:jcifs-ng:2.1.10'
api 'com.github.mwiede:jsch:0.2.13'
// update to 3.9.0 (java 7->8) breaks ftp on firestick4k (not max) had to use 3.8.0
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
implementation 'commons-net:commons-net:3.10.0'
implementation 'com.github.nova-video-player:sardine-android:0.0.2'
implementation 'com.hierynomus:smbj:0.13.0'
Expand All @@ -114,6 +112,8 @@ dependencies {
implementation 'androidx.preference:preference:1.2.1'
implementation 'org.slf4j:slf4j-api:2.0.9'
implementation 'com.github.tony19:logback-android:3.0.0'
// to solve ClassNotFoundException: Didn't find class "java.time.Duration" for ftp targeting minSdkVersion below 26
implementation 'com.jakewharton.threetenabp:threetenabp:1.4.6'
implementation 'io.sentry:sentry:7.0.0'
}

0 comments on commit 3db4e20

Please sign in to comment.