Join Slack
Powered by
Is there support to have both Android and Jvm targ...
# multiplatform
p
pablisco
05/25/2021, 10:36 AM
Is there support to have both Android and Jvm targets at the moment? I was wonder while writing
this
😅
m
mbonnin
05/25/2021, 10:34 PM
We do this and it's working. For an example there:
https://github.com/apollographql/apollo-android/blob/dev-3.x/apollo-normalized-cache-sqlite/build.gradle.kts
👀 1
🙇 1
mbonnin
05/25/2021, 10:35 PM
The intelliJ support isn't great (which is why there is code to ignore Android during gradle sync) but it builds and publishes both artifacts, one for the JVM using the jdbc SQL driver and one for Android using the android SQL driver
Open in Slack
Previous
Next