Hey, I would like to pick any ideas of the riddle ...
# multiplatform
d
Hey, I would like to pick any ideas of the riddle we are facing. We have a library, which we want to provide in 2 flavors: • base (common) • extended (flavor1) Right now the library has both base and extended code in
commonMain
under diff packages. 99% of the code is in
commonMain
. Android, ios and tvos code will follow same structure, i.e. same flavors/variants for ios, tvos, android. What would be good ideas to mingle with product flavors, and/or build variants, sourcesets etc. to allow such flexibility. Here is a pseudo structure, which shows product flavors for
commonMain
,
iosMain
and
androidMain
. Appreciate any ideas in advance! And you can change the tree whichway you want if you think something needs to be changed too: https://tree.nathanfriend.com/?s=(%27options!(%27fancy!true~fullPath!false~trailingSlash!true~rootDot!false)~sC!(%27sC!%276aUX8Y_6AUzOaUX989Y_6AU9z9OH0VlocalZNWZMemorySC4N%7DZDiskSC4N%7D3QrqZ7WZ7KW36model3QwW36_QR5WG6H9Tuses%2FincludejHYVrqB1JB1K47K%7DB2JB2K47K%7D36model3Q9w4w%7D36_Q9zOiosX8Y_6IoszOiosX989Y_6Ios9z9R5%7D%27)~version!%271%27)*%20%200GQcomG*QfooG**QlibG***Q3G*****4WTextendj5epository6-%207RqDataSC8TusejH9Flavor1BZServiceCourceG%5CnHcommonXJWTexntedj7%7DKMapperNLocalDataSCOR5%7DG6Q*6T%20%7BUndroidVcommon36data3QW.ktXMainY%7D0Z3*Q_r53js%20qemotewEventzR54%01zwqj_ZYXWVUTQONKJHGCB98765430*