2022-06-29 07:47:21 +00:00
|
|
|
project.version = "$library_version"
|
|
|
|
project.group = "$library_group"
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm {
|
|
|
|
compilations.main {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
js (IR) {
|
|
|
|
browser()
|
|
|
|
nodejs()
|
|
|
|
}
|
2023-04-03 17:30:24 +00:00
|
|
|
linuxX64()
|
|
|
|
mingwX64()
|
2022-06-29 07:47:21 +00:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin
|
|
|
|
api libs.kotlin.serialization
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin.test.common
|
|
|
|
implementation libs.kotlin.test.annotations.common
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jvmTest {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin.test.junit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jsTest {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin.test.js
|
|
|
|
implementation libs.kotlin.test.junit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|