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.
- If you have a flutter/engine checkout, then you should already have Depot tools on your path.
- Ensure you have write access for cipd. go/flutter-luci-cipd
- Download the new version of gradle then verify the checksum, and unzip into a local directory.
These steps use gradle version 7.5.1 as an example.
- Unzip gradle into a folder
unzip gradle-7.5.1-all.zip
- Authenticate with cipd
cipd auth-login
- Run
cipd create -in gradle-7.5.1 -install-mode copy -tag version:7.5.1 -name flutter/gradle
- Update
engine/src/flutter/DEPS
gradle entry to contain the tag from the command above. - Run
gclient sync
to verify that dependency can be fetched.
- CIPD gradle https://chrome-infra-packages.appspot.com/p/flutter/gradle/+/
- Gradle Releases https://gradle.org/releases/