diff --git a/android/core/build.gradle b/android/core/build.gradle index 11b8c473c00..fc549d5afb2 100644 --- a/android/core/build.gradle +++ b/android/core/build.gradle @@ -109,3 +109,7 @@ dependencies { androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' } + +configurations.configureEach { + exclude group: "org.apache.commons", module: "commons-compress" +} diff --git a/android/gradle.properties b/android/gradle.properties index 8ad177db1bf..bc78729d35c 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -17,5 +17,5 @@ org.gradle.jvmargs=-Xmx1536m android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX android.enableJetifier=true -djl_version=0.25.0 -pytorch_version=1.13.1 +djl_version=0.26.0 +pytorch_version=2.1.1