I'm having more trouble than I'd like getting inte...
# announcements
a
I'm having more trouble than I'd like getting intellij to play nicely with a sub-project mulitplatform project (JVM + JS). I have a gradle block configured like this:
Copy code
kotlin {
    jvm {
        withJava()
    }
    js {
        browser()
    }

    sourceSets {
        val commonMain by getting {
            dependencies {
                implementation(project(":core"))
                implementation(kotlin("stdlib-common"))
            }
        }

        val jsMain by getting {
            dependencies {                implementation("org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-1.4.0")
                implementation("org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-1.4.0")
                implementation(npm("react", "16.13.1"))
                implementation(npm("react-dom", "16.13.1"))
            }
        }

        val jvmMain by getting {
            dependencies {
                ...
            }
        }
    }
}