diff --git a/e2e/android/app/build.gradle b/e2e/android/app/build.gradle index 057b9de1..ae24d664 100644 --- a/e2e/android/app/build.gradle +++ b/e2e/android/app/build.gradle @@ -158,6 +158,8 @@ dependencies { implementation 'com.squareup.okhttp3:okhttp:4.11.0' implementation 'com.squareup.okio:okio:3.5.0' implementation 'com.squareup.okio:okio-jvm:3.5.0' + implementation 'commons-fileupload:commons-fileupload:1.5' + implementation 'com.google.guava:guava:32.1.3-android' def isGifEnabled = (findProperty('expo.gif.enabled') ?: "") == "true"; def isWebpEnabled = (findProperty('expo.webp.enabled') ?: "") == "true"; diff --git a/e2e/android/build.gradle b/e2e/android/build.gradle index 9da06cc2..ac2e3a83 100644 --- a/e2e/android/build.gradle +++ b/e2e/android/build.gradle @@ -1,6 +1,13 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { + configurations.configureEach { configuration -> + configuration.resolutionStrategy { + force 'commons-fileupload:commons-fileupload:1.5' + force 'com.google.guava:guava:32.1.3-android' + } + } + ext { buildToolsVersion = findProperty('android.buildToolsVersion') ?: '34.0.0' minSdkVersion = Integer.parseInt(findProperty('android.minSdkVersion') ?: '21') @@ -24,6 +31,13 @@ buildscript { apply plugin: "com.facebook.react.rootproject" allprojects { + configurations.configureEach { configuration -> + configuration.resolutionStrategy { + force 'commons-fileupload:commons-fileupload:1.5' + force 'com.google.guava:guava:32.1.3-android' + } + } + repositories { maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm