This is currently not possible. packageNameSuffix is ββstrictly a Build Type property.
I would like to suggest a way to adjust ProductFlavor values ββfor this option (i.e., a given combination of all flavor sizes and build type), but this is not possible at the moment.
Instead of a new taste dimension, you can create an "amzRelease" buildtype that extends the existing release build type and adds a suffix.
If your current Amazon fragrance does more (configure versionCode / Name / etc ...), it will not work. Then you can use both your Amazon flavor and the amzRelease build type. This will create a lot more options than you need, but it will work until we succeed.
source share