mirror of
https://github.com/flutter/flutter
synced 2024-08-27 20:10:11 +00:00
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:
parent
4aac3af93e
commit
4e1ad59f75
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue