Android Gradle Plugin 7.0.0 migration with Kotlin DSL

Viewed 734

After migration AGP to 7.0.0, some declarations are deprecated and should be replaced by property. How to replace declarations as flavorDimensions or resConfigs when the property is just a value?

1 Answers

I overlooked that thoose values (flavorDimensions, resourceConfigurations...) are mutable, so I can simply add new value

flavorDimensions.add("dimensionName")
Related