engine/src/flutter/tools/gradle/README.md
The instructions in this README explain how to create a CIPD package that contains the Gradle build-time dependency of the Android embedding of the engine. The Android embedder is shipped to Flutter end-users, but Gradle is not.
These steps use Gradle version 7.5.1 as an example. Please replace 7.5.1 with the actual Gradle version that you wish to use.
shasum -a 256 gradle-7.5.1-all.zip to
check the checksum of the Gradle version you downloaded. Verify that the checksum outputted by this
command and the one from the Gradle website match.unzip gradle-7.5.1-all.zip.These steps use Gradle version 7.5.1 as an example. Please replace 7.5.1 with the actual Gradle version that you downloaded and verified.
cipd auth-login.cipd create -in gradle-7.5.1 -install-mode copy -tag version:7.5.1 -name flutter/gradle to
upload the new Gradle version to CIPD.DEPS Gradle entry (which should look something like this)
to contain the tag from the command above (version:7.5.1).gclient sync to verify that the dependency can be fetched.