23 lines
602 B
Kotlin
23 lines
602 B
Kotlin
|
|
plugins {
|
||
|
|
kotlin("multiplatform")
|
||
|
|
kotlin("plugin.serialization")
|
||
|
|
}
|
||
|
|
|
||
|
|
kotlin {
|
||
|
|
jvm() // Targets the JVM. Additional targets (android, ios, etc.) can be configured later.
|
||
|
|
|
||
|
|
sourceSets {
|
||
|
|
val commonMain by getting {
|
||
|
|
dependencies {
|
||
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
|
||
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
|
||
|
|
}
|
||
|
|
}
|
||
|
|
val commonTest by getting {
|
||
|
|
dependencies {
|
||
|
|
implementation(kotlin("test"))
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|