<@UAV6BQPP1> Are you asking if you can refer to th...
# javascript
d
@Allan Wang Are you asking if you can refer to the same submodule from different Gradle roots? I wouldn't recommend that. Consider building an artifact for the subproject and adding it as a dependency, or, even better, make it it's own Gradle project. I didn't answer the question here - sorry. I don't know if you can.
a
I guess I'm wondering what the typical structure is for multi platform projects. It looks like those that are multi platform use gradle for everything, but the main kotlin react example is based around node. I have now found some other examples where it uses the gradle dependency for kotlin react though. I don't have a particular goal in mind beyond exploring how the project structure will be. One thing that I think would be useful is sharing the rest api interfaces and data models across all platforms. Backend can implement that in an object and delegate actions there, front end can implement it with a js library so it can return a typed kotlin object, and java clients can use things like retrofit and annotate the interface.