Jake
06/17/2019, 4:13 PMklib
? Or know of a good tutorial or more detailed documentation on the native libraries than I see on Jetbrains’ website? I’ve made a iOS framework with Kotlin Native, but there is a restriction they’ve created where you can only have one kotlin iOS framework in an app at a time. In an effort to modularize my shared code, I’d like to find a way to use several kotlin libraries in an iOS app at once. I believe for now I’ll need to create one Kotlin Native project that pulls in a bunch of libraries and spits out one bundled framework. But working with Gradle (not my forte) and this experimental stuff has got my head in a fog.
Ex:
Modules
----------
Models feature A
Models feature B
Models feature C
API-Client feature A
API-Client feature B
Other Business Logic
If our organization wants to use Feature B in another application I’d hate to have to pull all of that shared logic to the other app when I only want what matters to Feature BSam
06/17/2019, 4:47 PMimplementation project('module-A')
in it's dependencies section.Jake
06/17/2019, 6:32 PMSam
06/17/2019, 7:00 PMJake
06/18/2019, 12:58 AM