summaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts13
1 files changed, 3 insertions, 10 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index ac27625f..42ba7593 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,13 +1,12 @@
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
- val kotlinVersion = "1.5.31"
+ val kotlinVersion = "1.6.0"
kotlin("js") version kotlinVersion apply false
kotlin("jvm") version kotlinVersion apply false
kotlin("multiplatform") version kotlinVersion apply false
kotlin("plugin.spring") version kotlinVersion apply false
kotlin("plugin.serialization") version kotlinVersion apply false
- id("org.jlleitschuh.gradle.ktlint") version "10.1.0"
}
allprojects {
@@ -17,20 +16,14 @@ allprojects {
}
subprojects {
- apply(plugin = "org.jlleitschuh.gradle.ktlint")
-
- ktlint {
- disabledRules.set(setOf("no-wildcard-imports"))
- }
-
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { // JVM only
- kotlinOptions.jvmTarget = "15"
+ kotlinOptions.jvmTarget = "17"
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions.freeCompilerArgs += listOf(
"-Xopt-in=kotlin.RequiresOptIn",
- "-Xopt-in=kotlin.time.ExperimentalTime",
+ "-Xopt-in=kotlin.time.ExperimentalTime", // for measureTimedValue and withTimeout(Duration)
"-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
)
}
bgstack15