From 6640170c01ccf5c7de8c0893379c1b500f9e9fb1 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sun, 3 Jul 2022 00:18:46 +0200 Subject: Upgrade to Kotlin 1.7 --- build.gradle.kts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index b22ff23b..04ea274f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent plugins { - val kotlinVersion = "1.6.10" + val kotlinVersion = "1.7.0" kotlin("js") version kotlinVersion apply false kotlin("jvm") version kotlinVersion apply false kotlin("multiplatform") version kotlinVersion apply false @@ -22,10 +22,6 @@ subprojects { tasks.withType> { kotlinOptions.allWarningsAsErrors = true - kotlinOptions.freeCompilerArgs += listOf( - "-Xopt-in=kotlin.RequiresOptIn", - "-Xopt-in=kotlin.time.ExperimentalTime", // for measureTimedValue and withTimeout(Duration) - ) } tasks.withType { -- cgit