You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am working on a shared KMM library to be used in an Android app and an iOS app.
The project consists of several gradle modules, ModuleA and ModuleB, where both are using KtorFit to make requests to Api-A and Api-B.
Building the .aar's to be included in the Android project works fine, but when the shared library is included in the Android project the Android build fails with
Duplicate class de.jensklingenberg.ktorfit.KtorfitExtKt found in modules ModuleA and ModuleB
And when trying to build the iOS binary it fails with:
e: Compilation failed: IrSimpleFunctionPublicSymbolImpl for de.jensklingenberg.ktorfit/create|-6976474634225900979[0] is already bound: FUN name:create visibility:public modality:FINAL <T> ($receiver:<unbound IrClassPublicSymbolImpl>) returnType:T of de.jensklingenberg.ktorfit.create [inline]
It seems currently we are limited to only including Ktorfit 1 gradle module.
Describe the solution you'd like
I would like to be able to use Ktorfit in several gradle modules which are used for different features and API's, but i am currently unsure about what changes would be required for that.
If there is a workaround for this, please let me now. I'd also be happy to help out with implementing any required changes in Ktorfit, but could perhaps need some guidance on what is required.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am working on a shared KMM library to be used in an Android app and an iOS app.
The project consists of several gradle modules, ModuleA and ModuleB, where both are using KtorFit to make requests to Api-A and Api-B.
Building the .aar's to be included in the Android project works fine, but when the shared library is included in the Android project the Android build fails with
And when trying to build the iOS binary it fails with:
It seems currently we are limited to only including Ktorfit 1 gradle module.
Describe the solution you'd like
I would like to be able to use Ktorfit in several gradle modules which are used for different features and API's, but i am currently unsure about what changes would be required for that.
If there is a workaround for this, please let me now. I'd also be happy to help out with implementing any required changes in Ktorfit, but could perhaps need some guidance on what is required.
The text was updated successfully, but these errors were encountered: