Skip to content

Commit

Permalink
Remove unnecessary dependency on aapt2-linux
Browse files Browse the repository at this point in the history
Summary:
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

Differential Revision: D46318725

fbshipit-source-id: c3a455a8043b8da41b42390a2b8b279f78d6f7ab
  • Loading branch information
cortinico authored and facebook-github-bot committed May 31, 2023
1 parent b55f551 commit 704d1bd
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 704d1bd

Please sign in to comment.