I'm working on sample project which will use multiple SDK for same functionality.
For example i have SDK A,B and C
Now I have to build a separate modules for all the three sdk and one X module to map to common features in SDK
When I set the current environment for a specific SDK then X module should have dependencies, build and generate aar only with given specific SDK.
Once the X module is build with SDK A then app should be able to generate apk or .ipa
I'm using KMP to build this app.
The SDK can be of Android and iOS some might support only Android or only iOS.
How can i configure my gradle in KMP to build for this use case.