Use "gradle tasks --all" to query build variants (#21761)
Previously flutter_tools had used "gradle properties" to find the build types and flavors supported by the Gradle project. Tasks should work more reliably across different versions of the Android Gradle plugin. Fixes https://github.com/flutter/flutter/issues/20781
Showing
Please register or sign in to comment