From 70f3a264e2f34fa3a091afb7505b718ee5251ff7 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 31 May 2023 15:20:57 -0700 Subject: [PATCH] Remove unnecessary dependency on aapt2-linux (#37643) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37643 We needed this change for offline mirrors which we don't use anymore, so we can remove this extra dependency (it will make the build a little faster also which is never bad). Changelog: [Internal] [Changed] - Remove unnecessary dependency on aapt2-linux Reviewed By: mdvacca Differential Revision: D46318725 fbshipit-source-id: a86b43fff6a11844acff88791af0578d79d7fdbf --- packages/react-native/ReactAndroid/build.gradle | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/react-native/ReactAndroid/build.gradle b/packages/react-native/ReactAndroid/build.gradle index d65e409316a..25ba3cbcda9 100644 --- a/packages/react-native/ReactAndroid/build.gradle +++ b/packages/react-native/ReactAndroid/build.gradle @@ -711,12 +711,6 @@ dependencies { androidTestImplementation("androidx.test:runner:${ANDROIDX_TEST_VERSION}") androidTestImplementation("androidx.test:rules:${ANDROIDX_TEST_VERSION}") androidTestImplementation("org.mockito:mockito-core:${MOCKITO_CORE_VERSION}") - - // This compileOnly dependency is needed to be able to update the offline - // mirror from a non-linux machine, while still executing inside a Linux CI - // as we declare a dependency on aap2 @linux so we're sure the linux artifact - // gets downloaded at some point. - compileOnly("com.android.tools.build:aapt2:7.4.2-8841542:linux") } react {