icerockdev / moko-kswift

Swift-friendly api generator for Kotlin/Native frameworks
https://moko.icerock.dev
Apache License 2.0
351 stars 21 forks source link

Duplicate module names overwrite #24

Closed PaulWoitaschek closed 2 years ago

PaulWoitaschek commented 2 years ago

We have a gradle module structure like:

featX:ui featX:data featY:ui featY:data

And an umbrealla module consuming all other modules for iOS. Currently the task generates swift files having the module name and not the path of the module. This leads to a single ui.swift of the last module in the compilation overwriting all other ui.swift modules.

It would be good if that would not happen and the whole module path would be used for the swift name, for example: featY_ui.swift, featX_ui.swift

I'm using 0.3.0

Alex009 commented 2 years ago

will be available in 0.4.0