зеркало из https://github.com/mozilla/gecko-dev.git
b12ab072d2
The goal of this approach is to tell Gradle to not connect (or allow it to connect) to the network when fetching dependencies. No Android automation tasks should fetch from the network, except the toolchain tasks (which are specially intended to do so). It's difficult to arrange this without including the `--offline` flag everywhere. It _should_ be possible to set offline using an environment variable -- which would allow us to get rid of these dotgradle-* files -- but offline isn't an option in https://docs.gradle.org/4.2.1/userguide/build_environment.html#sec:gradle_configuration_properties (and certainly not in earlier versions either). Therefore, environment variable that points to an init.gradle file in automation. Before this patch, the files telling Gradle whether to start offline were fetched from tooltool. That's just a layer that doesn't need to be there. None of this impacts local developers. MozReview-Commit-ID: LAXktbBu1Az --HG-- extra : rebase_source : d23801643d32135a87d410bf5e8508da556ef9be |
||
---|---|---|
.. | ||
gradle.properties | ||
init.gradle |