plugins { kotlin("multiplatform") } val coroutinesVersion: String by project.ext val jvmVersion: String by project.extra tasks.withType { kotlinOptions { jvmTarget = jvmVersion } } kotlin { js { browser {} } jvm() sourceSets { commonMain { dependencies { api(project(":core")) api(kotlin("test-common")) api(kotlin("test-annotations-common")) api("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion") } } named("jsMain") { dependencies { api(kotlin("test-js")) } } named("jvmMain") { dependencies { api(kotlin("test")) } } } }