Remove references to REACT_NATIVE_ROBOLECTRIC_MIRROR (#37201)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37201

As we don't need to have a Robolectric Offline Mirror anymore due to how we execute Robolectric tests only on Gradle/CircleCI or Buck/Internal, we can remove this configuration.

Changelog:
[Internal] [Changed] - Remove references to REACT_NATIVE_ROBOLECTRIC_MIRROR

Reviewed By: philIip, mdvacca

Differential Revision: D45497431

fbshipit-source-id: e26e3117eb456c313dc8bf366bf71bb4dedea048
This commit is contained in:
Nicola Corti
2023-05-03 03:27:17 -07:00
committed by Facebook GitHub Bot
parent d5dad06b32
commit c43ea25267
@@ -657,17 +657,6 @@ android {
includeBuildTypeValues('debug', 'release')
}
}
testOptions {
unitTests.all {
// Robolectric tests are downloading JARs at runtime. This allows to specify
// a local file mirror with REACT_NATIVE_ROBOLECTRIC_MIRROR to go in offline more.
if (System.getenv("REACT_NATIVE_ROBOLECTRIC_MIRROR") != null) {
systemProperty 'robolectric.offline', 'true'
systemProperty 'robolectric.dependency.dir', System.getenv("REACT_NATIVE_ROBOLECTRIC_MIRROR")
}
}
}
}
dependencies {