Add documentation on how to use dart-define with gradlew (#123205)

Add documentation on how to use `dart-define` with `gradlew`
This commit is contained in:
Sebastian Schneider
2023-03-30 01:06:46 +02:00
committed by GitHub
parent 4aac3af93e
commit 4e1ad59f75

View File

@@ -221,6 +221,13 @@ physical):
./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../integration_test/foo_test.dart
```
Note:
To use `--dart-define` with `gradlew` you must `base64` encode all parameters,
and pass them to gradle in a comma separated list:
```bash
./gradlew project:task -Pdart-defines="{base64(key=value)},[...]"
```
## Firebase Test Lab
If this is your first time testing with Firebase Test Lab, you'll need to follow