Giovanny Velez
02/26/2024, 6:55 PMaar
and a Java JAR
library?
I’ve been messing with targetSources the Android and Java plugins, but no success 😞
For more detailed context, what I need is a module just with the Compose Multiplatform dependencies and my own composables. And to add it as a dependency in the compatible targets (I can’t add it to comonMain since I’m also using a Kotlin JS target which can’t manage Compose Multiplatform), so I’ll add it manually to the Android, iOS and Desktop targets.gildor
02/27/2024, 8:17 AMaar
and jar
at the same time for it
Why not just jar?gildor
02/27/2024, 8:18 AMGiovanny Velez
02/28/2024, 2:55 PMaar
and in JVM as jar
. Anyway I’m experimenting doing it as a Multiplatform library considering some info that I’ve found. I’ll share my results here for anyone to know if I’m successful. 🙂gildor
02/29/2024, 7:30 AMaar
Why? It's not requirement. Yes, jar has less features, but it absoltely fine to use jar, many libs used on android are pure jvm ones and use jar
So if you library doesn't expose anything android specific (like resources) I don't see a reason why it should be aar?