We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is currently no way to specify --dart-define for the Build task.
--dart-define
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
+1
I just added a generic additionalArguments to the build task to allow to pass custom arguments like this!
additionalArguments
No branches or pull requests
There is currently no way to specify
--dart-define
for the Build task.The text was updated successfully, but these errors were encountered: