2022-07-16 21:34:19 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("multiplatform")
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
kotlin {
|
2022-07-23 10:40:36 +03:00
|
|
|
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Warning
|
2022-07-16 21:34:19 +03:00
|
|
|
jvm {
|
|
|
|
compilations.all {
|
|
|
|
kotlinOptions.jvmTarget = "11"
|
|
|
|
}
|
|
|
|
}
|
2022-07-23 10:40:36 +03:00
|
|
|
js(IR) {
|
2022-07-16 21:34:19 +03:00
|
|
|
browser()
|
|
|
|
}
|
2022-08-29 13:38:46 +03:00
|
|
|
|
|
|
|
sourceSets{
|
|
|
|
commonTest{
|
|
|
|
dependencies{
|
|
|
|
implementation(kotlin("test"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-16 21:34:19 +03:00
|
|
|
}
|