Is there any workaround to import multiple K/N mod...
# kotlin-native
u
b
Workaround right now is just have a single framework that pulls in and exports all of the libraries you want
u
@basher yup, i know (https://github.com/JetBrains/kotlin-native/issues/2423#issuecomment-569437151) about 1.3.70, was just curious about possible workarounds that work at the moment
👍 1
I was able to workaround this limitation with an ugly hack: creating a fake gradle module each sourceset’s path includes the paths of modules that needs to be available in that single gradle module (pod) = single framework. Another ugly thing i had to do is to merge the dependencies of the sourcesets (manually though i have tried to do it with just
import/api project(':..')
). More details in https://github.com/4ntoine/NotesClientApp/commit/1f450a92dfb3199fcf91fa08975dd07586219876
m
@4ntoine I came to the similar conclusion as you do https://github.com/dukecon/dukecon_mobile/blob/develop/common/combined/dukecon/build.gradle Template sample app from Moko project use multiple modules but has just one module which creates xcode framework artifacthttps://github.com/icerockdev/moko-template