Multiple signingConfigs for multiple variants
How can I set different signing configs for different variants? For instance, we currently have the buildtypes Debug/Beta/Release with 2 flavors, free and paid, resulting in 6 variants. To make it a bit easier, let's forget the Debug variants and only focus on freeBeta/paidBeta/freeRelease/paidRelease. What I'd like, is for each variant to use a separate different signingConfig. So far the only solutions I could find is either putting the signingConfigs in the buildTypes so all Beta variants would have the same signingConfigs: buildTypes { beta { signingConfigs.beta } release { signingConfigs