In my build.gradle, I have
android {
flavorDimensions "first", "second"
productFlavors {
a {
dimension "first"
}
...
}
How can I get the list of flavorDimensions in the same order that gradle will use when creating the combinations of flavors?
It's available as an ArrayList from
android.flavorDimensionList.