From e35410120b4a7ba733d5aba147ed1994ba955165 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Mon, 2 Dec 2024 10:23:17 -0800 Subject: [PATCH] Update androidx.test:core:1.5.0 --- java/src/test/android/app/build.gradle | 7 ++----- js/react_native/android/build.gradle | 4 ++-- js/react_native/e2e/android/app/build.gradle | 6 ++---- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/java/src/test/android/app/build.gradle b/java/src/test/android/app/build.gradle index 5c6a88792207d..bfc6a15dffd70 100644 --- a/java/src/test/android/app/build.gradle +++ b/java/src/test/android/app/build.gradle @@ -69,11 +69,8 @@ dependencies { implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' testImplementation 'junit:junit:4.+' - androidTestImplementation 'androidx.test.ext:junit:1.1.3' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' - - androidTestImplementation 'androidx.test:runner:1.4.0' - androidTestImplementation 'androidx.test:rules:1.4.0' + implementation project("androidx.test:core:1.5.0") + implementation project("androidx.test.espresso:espresso-core:3.5.0") androidTestImplementation 'com.microsoft.appcenter:espresso-test-extension:1.4' // dependencies for onnxruntime-android-qnn diff --git a/js/react_native/android/build.gradle b/js/react_native/android/build.gradle index 44fb9dd7c433e..5cfe11374030d 100644 --- a/js/react_native/android/build.gradle +++ b/js/react_native/android/build.gradle @@ -221,8 +221,8 @@ dependencies { api "com.facebook.react:react-native:" + REACT_NATIVE_VERSION api "org.mockito:mockito-core:2.28.2" - androidTestImplementation "androidx.test:runner:1.1.0" - androidTestImplementation "androidx.test:rules:1.1.0" + implementation project("androidx.test:core:1.5.0") + implementation project("androidx.test.espresso:espresso-core:3.5.0") implementation "junit:junit:4.12" diff --git a/js/react_native/e2e/android/app/build.gradle b/js/react_native/e2e/android/app/build.gradle index 8a84b0d5065a8..9e1f33118d7c5 100644 --- a/js/react_native/e2e/android/app/build.gradle +++ b/js/react_native/e2e/android/app/build.gradle @@ -193,7 +193,6 @@ dependencies { implementation "com.facebook.react:react-native:+" // From node_modules implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" - implementation 'androidx.test.ext:junit:1.1.3' debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { exclude group:'com.facebook.fbjni' } @@ -213,9 +212,8 @@ dependencies { implementation jscFlavor } - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' - androidTestImplementation 'androidx.test:runner:1.4.0' - androidTestImplementation 'androidx.test:rules:1.4.0' + implementation project("androidx.test:core:1.5.0") + implementation project("androidx.test.espresso:espresso-core:3.5.0") implementation project(':onnxruntime-react-native') // specify ORT dependency here so it can be found in libs flatDir repository