phantasmal-world/build.gradle.kts

35 lines
946 B
Plaintext

import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
plugins {
kotlin("js") version "1.4.30" apply false
kotlin("multiplatform") version "1.4.30" apply false
kotlin("plugin.serialization") version "1.4.30" apply false
}
tasks.wrapper {
gradleVersion = "6.8.2"
}
subprojects {
project.extra["jvmVersion"] = "11"
project.extra["coroutinesVersion"] = "1.4.2"
project.extra["kotlinLoggingVersion"] = "2.0.2"
project.extra["ktorVersion"] = "1.4.3"
project.extra["serializationVersion"] = "1.0.1"
project.extra["slf4jVersion"] = "1.7.30"
repositories {
jcenter()
maven(url = "https://kotlin.bintray.com/kotlinx/")
}
tasks.withType<Kotlin2JsCompile> {
kotlinOptions.freeCompilerArgs += listOf(
"-Xopt-in=kotlin.RequiresOptIn",
"-Xopt-in=kotlin.ExperimentalUnsignedTypes",
"-Xopt-in=kotlin.time.ExperimentalTime"
)
}
}