From 1f400bbd102ccb92a8b7b66624cb482941f64737 Mon Sep 17 00:00:00 2001 From: malinajirka Date: Fri, 1 Aug 2025 11:51:21 +0200 Subject: [PATCH 1/3] Remove unused dependency --- WooCommerce/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/WooCommerce/build.gradle b/WooCommerce/build.gradle index cbd6a7cf89d..fc38e687d72 100644 --- a/WooCommerce/build.gradle +++ b/WooCommerce/build.gradle @@ -369,7 +369,6 @@ dependencies { because("version shipped with WireMock 2.26.3 contains security vulnerabilities") } } - androidTestImplementation(libs.apache.http.client.android) implementation(libs.zendesk.support) { exclude group: 'com.android.support', module: 'support-annotations' From b132faebcce8502199b88800425210f50b4c54e5 Mon Sep 17 00:00:00 2001 From: malinajirka Date: Mon, 4 Aug 2025 09:12:06 +0200 Subject: [PATCH 2/3] Revert "Remove unused dependency" This reverts commit 1f400bbd102ccb92a8b7b66624cb482941f64737. --- WooCommerce/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/WooCommerce/build.gradle b/WooCommerce/build.gradle index fc38e687d72..cbd6a7cf89d 100644 --- a/WooCommerce/build.gradle +++ b/WooCommerce/build.gradle @@ -369,6 +369,7 @@ dependencies { because("version shipped with WireMock 2.26.3 contains security vulnerabilities") } } + androidTestImplementation(libs.apache.http.client.android) implementation(libs.zendesk.support) { exclude group: 'com.android.support', module: 'support-annotations' From 3c684ad20e8397d429f70d758abd1f3f25752c19 Mon Sep 17 00:00:00 2001 From: malinajirka Date: Mon, 4 Aug 2025 09:12:51 +0200 Subject: [PATCH 3/3] Suppress unused warning for libsapachehttpclientandroid --- libs/fluxc/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/fluxc/build.gradle b/libs/fluxc/build.gradle index dec67fbc402..2f1b96cb269 100644 --- a/libs/fluxc/build.gradle +++ b/libs/fluxc/build.gradle @@ -125,6 +125,8 @@ dependencyAnalysis { onUnusedDependencies { // This dependency is actually needed otherwise the app will crash with a runtime exception. exclude(libs.eventbus.android.get().module.toString()) + // This dependency is actually needed otherwise UI tests will crash with a runtime exception. + exclude(libs.apache.http.client.android.get().module.toString()) } } }