Gabriel Feo
11/20/2019, 3:35 PMjava.*
reference). Has anyone run into this?plugins {
id("org.jetbrains.kotlin.multiplatform")
}
repositories {
mavenCentral()
}
kotlin {
jvm()
sourceSets {
val commonMain by getting {
dependencies {
implementation(kotlin("stdlib-common"))
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
val jvmMain by getting {
dependsOn(commonMain)
dependencies {
implementation(kotlin("stdlib-jdk8"))
}
}
val jvmTest by getting {
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-junit"))
}
}
}
}
russhwolf
11/20/2019, 3:50 PMdependsOn(commonMain)
in jvmMain
. That might be confusing the IDE.Gabriel Feo
11/20/2019, 3:59 PMSebastian Sellmair [JB]
11/20/2019, 4:22 PMGabriel Feo
11/20/2019, 5:10 PMrusshwolf
11/20/2019, 5:12 PMSebastian Sellmair [JB]
11/20/2019, 5:15 PMErik Christensen
11/20/2019, 5:35 PMGabriel Feo
11/22/2019, 10:50 AM