diff --git a/dev/bots/analyze.dart b/dev/bots/analyze.dart index 6700bc7da96..99c4b78cf22 100644 --- a/dev/bots/analyze.dart +++ b/dev/bots/analyze.dart @@ -1742,7 +1742,7 @@ class Hash256 { // We have a policy of not checking in binaries into this repository. // If you are adding/changing template images, use the flutter_template_images // package and a .img.tmpl placeholder instead. -// If you have other binaries to add, please consult Hixie for advice. +// If you have other binaries to add, please consult johnmccutchan for advice. final Set _legacyBinaries = { // DEFAULT ICON IMAGES @@ -2099,7 +2099,7 @@ Future verifyNoBinaries(String workingDirectory, {Set? legacyBina // We have a policy of not checking in binaries into this repository. // If you are adding/changing template images, use the flutter_template_images // package and a .img.tmpl placeholder instead. - // If you have other binaries to add, please consult Hixie for advice. + // If you have other binaries to add, please consult johnmccutchan for advice. assert( _legacyBinaries .expand((Hash256 hash) => [hash.a, hash.b, hash.c, hash.d]) diff --git a/packages/flutter_tools/gradle/.gitignore b/packages/flutter_tools/gradle/.gitignore new file mode 100644 index 00000000000..34398b632e2 --- /dev/null +++ b/packages/flutter_tools/gradle/.gitignore @@ -0,0 +1,3 @@ +gradlew +gradlew.bat +gradle/** diff --git a/packages/flutter_tools/gradle/README.md b/packages/flutter_tools/gradle/README.md index c36e148742f..bcf71abdee8 100644 --- a/packages/flutter_tools/gradle/README.md +++ b/packages/flutter_tools/gradle/README.md @@ -18,7 +18,11 @@ new contributions will only be accepted in `src/main/kotlin` (and `src/test/kotl ### Testing -Tests can be run in Android Studio, or directly with Gradle: `./gradle test` +To run the tests from the CLI, you first need to download the Gradle wrapper. +1. Ensure you have run gclient sync recently (i.e., from the root of your framework checkout, run `gclient sync -D`). +2. From this directory, run `../../../engine/src/flutter/third_party/gradle/bin/gradle wrapper`. + +Tests can be run in Android Studio, or directly with Gradle: `./gradlew test` (note that this directory does not contain a version controlled Gradle file. You can find one in the engines `third_party` directory at `/engine/src/flutter/third_party/gradle/bin/gradle`).