Open maks opened 3 years ago
I should say its easy enough to define a custom task to do this:
- task: CmdLine@2
displayName: "Android build"
inputs:
script: "$(FlutterToolPath)/flutter build appbundle --dart-define MY_CONFIG=FooBar"
but it would be nice to have this supported in the built-in FlutterBuild task.
+1
I just added a generic additionalArguments
to the build task to allow to pass custom arguments like this!
There is currently no way to specify
--dart-define
for the Build task.