Unverified Commit 4e1ad59f authored by Sebastian Schneider's avatar Sebastian Schneider Committed by GitHub

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

Add documentation on how to use `dart-define` with `gradlew`
parent 4aac3af9
...@@ -221,6 +221,13 @@ physical): ...@@ -221,6 +221,13 @@ physical):
./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../integration_test/foo_test.dart ./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 ## Firebase Test Lab
If this is your first time testing with Firebase Test Lab, you'll need to follow If this is your first time testing with Firebase Test Lab, you'll need to follow
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment