'KotlinJS React with Maven

I currently have a project structure as shown below:

Parent (Maven)
 |-- SpringBoot (Maven + Kotlin)
 |-- Shared module (Maven + Kotlin)
 |-- React with KotlinJS (Preferably maven)

the last module is React with KotlinJS. As seen in the "new project" wizard of IntelliJ, it says it's only available with Gradle. Is there a possibility that I can also build the React KotlinJS app with Maven? Because I want to remain the current project structure in Maven for code sharing between modules.

Anyone has a clue? I tried adding Gradle build files to the other modules but that doesn't seem to work.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source