I have an app where I need to be able to build apk files for testing, and aab files for uploading to the play store. The apk and aab files should be signed with different keys.
How can I specify different signingConfig blocks depending on whether the build is run with assembleRelease vs. bundleRelease? It seems like this should be a flavor-like thing but I can't figure out how.