Skip to content

Commit

Permalink
Remove unnecessary dependency on aapt2-linux (#37643)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
cortinico authored and facebook-github-bot committed May 31, 2023
1 parent d0fed3a commit 70f3a26
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/react-native/ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 70f3a26

Please sign in to comment.