Join Slack
Powered by
Hi, is it possible to have a number of custom sour...
# multiplatform
p
Phil Saul
01/28/2023, 12:18 PM
Hi, is it possible to have a number of custom source sets for the android target? Something like commonMain -> androidMain -> android1, android2 etc. To enable different shared code for automotive vs phone/tablet vs watch etc
j
jw
01/28/2023, 1:15 PM
Generally we use build variants for that
https://developer.android.com/studio/build/build-variants
jw
01/28/2023, 1:16 PM
Currently you cannot have multiple Android targets like you can with JVM, JS, and native
p
Phil Saul
01/30/2023, 9:26 AM
Ah ok - thanks for clarifying that
3
Views
Open in Slack
Previous
Next