Settings in build.gradle
flavorDimensions "xyz", "abc"
@Incubating
@Deprecated(message = "Replaced by flavorDimensions property")
public void flavorDimensions(
@NotNull String... dimensions
)
I could not find an example of a modern approach.
It looks like they change flavorDimensions
to accept only List
not String
, so you need to change the code to look like this:
flavorDimensions = ["dimension"]
Or
flavorDimensions = ["dimension1","dimension2"]