Hi, I'd like to share kotlin module between Java a...
# javascript
j
Hi, I'd like to share kotlin module between Java and Kotlin/JS modules, some constants and data classes. Is it use case for multi platform building or is there some easier way?
h
multiplatform project and putting code in
common
folder
j
Can I have such library as one of more modules in project? I'd like to Idea to show changes imediatelly in other project modules. Our project has about 10 java modules + 1 kotlin/js, I'd like to avoid big changes in build scripts ;).
h
I haven’t worked with it like that if I’m gonna be honest. Only using it as single module.
a
Yes, you can have such a module in a project with multiple modules