plugins { kotlin("multiplatform") kotlin("plugin.serialization") } kotlin { jvm() js { browser() // necessary for local dependency from JS UI module } sourceSets { val commonMain by getting { dependencies { api(libs.kotlinx.serialization.core) } } val commonTest by getting { dependencies { implementation(kotlin("test")) } } } }