I build my app using Android Studio and gradle.
I have an existing version, built foor Google Play, and that uses IABv3. (In App Billing v3 from Google.)
I want to build a variant with Amazon's IAPv2.
Do I need to create a whole new Android Studio project for the Amazon IAP variant?
Or can I somehow have both the Google Play and the Amazon variants co-exist in a single Android Studio project? I need to generate two APKs of course, and they should link against different libraries, but if I can avoid duplication, I would like to do so.