KotlinJS demonstration project in modules

I have an application made a few years ago in KotlinJS, I need to update it I want to make it work with the gradle, but I don’t know how to configure it to use modules, I developed a model that is on GitHub.
I need the dlgw_araiz module to be shared with the other modules, I have been trying for 3 days but I am new to Gradle.

BackEnd is separate from this interface, so I don’t need it in this project.

I put the project directly on GitHub, because in the parts of the gradle I am lost.

Thanks in advance for any help