From 576ebcfa6542471f741cc0e976648f8f547e8c39 Mon Sep 17 00:00:00 2001 From: rfresh2 <89827146+rfresh2@users.noreply.github.com> Date: Mon, 10 Jul 2023 02:10:08 -0700 Subject: [PATCH] chore: update to kotlin 1.9.0 --- gradle.properties | 4 ++-- .../kotlin/com/lambda/client/util/threads/CoroutineUtils.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 98d556666..ca4eaacd4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,5 +10,5 @@ forgeVersion=14.23.5.2860 mappingsChannel=stable mappingsVersion=39-1.12 -kotlinVersion=1.8.21 -kotlinxCoroutinesVersion=1.7.1 +kotlinVersion=1.9.0 +kotlinxCoroutinesVersion=1.7.2 diff --git a/src/main/kotlin/com/lambda/client/util/threads/CoroutineUtils.kt b/src/main/kotlin/com/lambda/client/util/threads/CoroutineUtils.kt index f2ab1fff8..2b453caf6 100644 --- a/src/main/kotlin/com/lambda/client/util/threads/CoroutineUtils.kt +++ b/src/main/kotlin/com/lambda/client/util/threads/CoroutineUtils.kt @@ -5,7 +5,7 @@ import kotlinx.coroutines.* /** * Single thread scope to use in Lambda */ -@OptIn(DelicateCoroutinesApi::class) +@OptIn(DelicateCoroutinesApi::class, ExperimentalCoroutinesApi::class) val mainScope = CoroutineScope(newSingleThreadContext("Lambda Main")) /**