tree: 04719c40e83818f2f403095a800d0cf4b18fe40d [path history] [tgz]
  1. README.md
tools/gradle/README.md

Updating gradle version used in engine repo

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.

Requirements

  1. If you have a flutter/engine checkout, then you should already have Depot tools on your path.
  2. Ensure you have write access for cipd. go/flutter-luci-cipd
  3. Download the new version of gradle then verify the checksum, and unzip into a local directory.

Update CIPD Steps

These steps use gradle version 7.5.1 as an example.

  1. Unzip gradle into a folder unzip gradle-7.5.1-all.zip
  2. Authenticate with cipd cipd auth-login
  3. Run cipd create -in gradle-7.5.1 -install-mode copy -tag version:7.5.1 -name flutter/gradle
  4. Update engine/src/flutter/DEPS gradle entry to contain the tag from the command above.
  5. Run gclient sync to verify that dependency can be fetched.

Useful links