Hey, I have a multiplatform project with subprojec...
# multiplatform
h
Hey, I have a multiplatform project with subprojects, it targets only jvm and js. Working in the JS part (jsFrontend) is ridiculously slow though. It takes up to 15s for syntax highlighting when opening a file or when using intelliSense code completion. I try to cobble together a whole project to demonstrate, the
settings.gradle
looks like this:
Copy code
val rootProjects = listOf("common", "jsFrontend", "jvmBackend")

// Multiplatform roots
rootProjects.forEach {
    include(":$it")
}

// Server Submodules
include(":boot")
include(":domain")
include(":api")
include(":persistence")
include(":m2m")

rootProject.name = "myAwesomeApp"
rootProject.children.forEach { project ->
    project.buildFileName = "${project.name}.gradle.kts"

    if (project.name !in rootProjects) {
        project.projectDir = File("jvmBackend/src/${project.name}")
    }
}