What is the use of flavorDimensions in builld.gradle (AndroidStudio)?

59 Views Asked by At

I opened one project in build.gradle was also something unfamiliar to me:

flavorDimensions "release", "default"

productFlavors {

        main {
            applicationId "com.xxxx.xxxx"
            dimension "default"
        }
        underground {
            applicationId "com.xxxx.xxx"
            dimension "default"
        }
        google {
            dimension "release"
        }
        amazon {
            dimension "release"
        }
}

What is the use of this?

0

There are 0 best solutions below