Loading projects/common/how-to-create-gradle-dependencies-list.txt +8 −4 Original line number Original line Diff line number Diff line Loading @@ -3,8 +3,9 @@ If additional Android dependencies are required by the project's build, then the Gradle build will fail due to missing dependencies. To find out what the the Gradle build will fail due to missing dependencies. To find out what the missing dependencies are take the following steps. missing dependencies are take the following steps. When calling gradle in the project's build script replace the `--offline` flag If the dependencies for `application-services`, `android-components`, or `fenix` with `--debug` and remove any `-Dmaven.repo.local` arguments. are needed, set the `fetch_gradle_dependencies` flag in their `config` files to `1`. For the firefox project, comment out the following line in the project's build file: For the firefox project, comment out the following line in the project's build file: Loading @@ -14,7 +15,10 @@ Also modify the gradle flags to include the debug option so the download logs wi export GRADLE_FLAGS="--no-daemon --debug" export GRADLE_FLAGS="--no-daemon --debug" Then allow network access during the build by setting Otherwise, when calling gradle in the project's build script replace the `--offline` flag with `--debug` and remove any `-Dmaven.repo.local` arguments. Finally, allow network access during the build by setting `var/container/disable_network/build` to `0` in rbm.conf, and rerun the build. `var/container/disable_network/build` to `0` in rbm.conf, and rerun the build. Dependent artifacts will show up as downloads in the logs. You can pull out Dependent artifacts will show up as downloads in the logs. You can pull out Loading @@ -26,4 +30,4 @@ list script in the tools directory: Copy the resulting `gradle-dependencies-list.txt` over the one in the respective Copy the resulting `gradle-dependencies-list.txt` over the one in the respective project. Then, in the project's config file, increment the project. Then, in the project's config file, increment the `var/gradle_dependencies_version` and make sure to restore the project's build `var/gradle_dependencies_version` and make sure to restore the project's build file back to original. file back to original or set `fetch_gradle_dependencies` to `0` again. Loading
projects/common/how-to-create-gradle-dependencies-list.txt +8 −4 Original line number Original line Diff line number Diff line Loading @@ -3,8 +3,9 @@ If additional Android dependencies are required by the project's build, then the Gradle build will fail due to missing dependencies. To find out what the the Gradle build will fail due to missing dependencies. To find out what the missing dependencies are take the following steps. missing dependencies are take the following steps. When calling gradle in the project's build script replace the `--offline` flag If the dependencies for `application-services`, `android-components`, or `fenix` with `--debug` and remove any `-Dmaven.repo.local` arguments. are needed, set the `fetch_gradle_dependencies` flag in their `config` files to `1`. For the firefox project, comment out the following line in the project's build file: For the firefox project, comment out the following line in the project's build file: Loading @@ -14,7 +15,10 @@ Also modify the gradle flags to include the debug option so the download logs wi export GRADLE_FLAGS="--no-daemon --debug" export GRADLE_FLAGS="--no-daemon --debug" Then allow network access during the build by setting Otherwise, when calling gradle in the project's build script replace the `--offline` flag with `--debug` and remove any `-Dmaven.repo.local` arguments. Finally, allow network access during the build by setting `var/container/disable_network/build` to `0` in rbm.conf, and rerun the build. `var/container/disable_network/build` to `0` in rbm.conf, and rerun the build. Dependent artifacts will show up as downloads in the logs. You can pull out Dependent artifacts will show up as downloads in the logs. You can pull out Loading @@ -26,4 +30,4 @@ list script in the tools directory: Copy the resulting `gradle-dependencies-list.txt` over the one in the respective Copy the resulting `gradle-dependencies-list.txt` over the one in the respective project. Then, in the project's config file, increment the project. Then, in the project's config file, increment the `var/gradle_dependencies_version` and make sure to restore the project's build `var/gradle_dependencies_version` and make sure to restore the project's build file back to original. file back to original or set `fetch_gradle_dependencies` to `0` again.