mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-04 06:28:28 +08:00
22 lines
504 B
Plaintext
22 lines
504 B
Plaintext
plugins {
|
|
id("world.phantasmal.multiplatform")
|
|
kotlin("plugin.serialization")
|
|
}
|
|
|
|
val serializationVersion: String by project.extra
|
|
|
|
kotlin {
|
|
sourceSets {
|
|
configureEach {
|
|
languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi")
|
|
}
|
|
commonMain {
|
|
dependencies {
|
|
api(project(":psolib"))
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
|
|
}
|
|
}
|
|
}
|
|
}
|