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