From 7eaf6d1a96615e4a1582355f07e6140b39967ae2 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 18 Sep 2024 09:49:28 +0100 Subject: [PATCH] Prohibit upgrades to Kotlin Coroutines 1.9 Closes gh-42348 --- spring-boot-project/spring-boot-dependencies/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 5b73558167..cc54c4d2ed 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1079,6 +1079,10 @@ bom { } } library("Kotlin Coroutines", "1.8.1") { + prohibit { + versionRange "[1.9.0,)" + because "it requires Kotlin 2" + } group("org.jetbrains.kotlinx") { imports = [ "kotlinx-coroutines-bom"