diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-11-16 13:58:47 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-11-16 14:00:21 -0500 |
| commit | 00484f242905324de5cfc9eb8f85d55481aa1fec (patch) | |
| tree | 1c73c8d047b6b718dc9637ed536e888c2d163cb2 /static | |
| parent | cf36dc111f1b5c85f14ff486623599aebe0761ff (diff) | |
add section on updating Gradle and Gradle wrapper
Diffstat (limited to 'static')
| -rw-r--r-- | static/build.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html index 6ab8a80a..8f07033f 100644 --- a/static/build.html +++ b/static/build.html @@ -101,6 +101,7 @@ <li><a href="#stable-release-manifest">Stable release manifest</a></li> <li><a href="#standalone-sdk">Standalone SDK</a></li> <li><a href="#android-studio">Android Studio</a></li> + <li><a href="#updating-gradle-and-gradle-wrapper-for-standalone-apps">Updating Gradle and Gradle wrapper for standalone apps</a></li> <li><a href="#obtaining-upstream-manifests">Obtaining upstream manifests</a></li> <li> <a href="#testing">Testing</a> @@ -979,6 +980,18 @@ mv android-studio studio</pre> <p>You can start it with <code>studio.sh</code>.</p> </article> + <article id="updating-gradle-and-gradle-wrapper-for-standalone-apps"> + <h2><a href="#updating-gradle-and-gradle-wrapper-for-standalone-apps">Updating Gradle and Gradle wrapper for standalone apps</a></h2> + + <p>Obtain the latest Gradle version and binary-only zip checksum from + <a href="https://gradle.org/release-checksums/">the Gradle releases page</a>.</p> + + <p>Use the gradle wrapper script to update Gradle to the latest version. You should run this twice rather than only once to upgrade the Gradle wrapper with the new Gradle version. For example, with Gradle 7.3:</p> + + <pre>./gradlew wrapper --gradle-version=7.3 --gradle-distribution-sha256-sum=de8f52ad49bdc759164f72439a3bf56ddb1589c4cde802d3cec7d6ad0e0ee410 +./gradlew wrapper --gradle-version=7.3 --gradle-distribution-sha256-sum=de8f52ad49bdc759164f72439a3bf56ddb1589c4cde802d3cec7d6ad0e0ee410</pre> + </article> + <article id="testing"> <h2><a href="#testing">Testing</a></h2> |
