Prohibit upgrades to Kotlin Coroutines 1.9

Closes gh-42348
This commit is contained in:
Andy Wilkinson 2024-09-18 09:49:28 +01:00
parent 9750425ac7
commit 7eaf6d1a96
1 changed files with 4 additions and 0 deletions

View File

@ -1079,6 +1079,10 @@ bom {
} }
} }
library("Kotlin Coroutines", "1.8.1") { library("Kotlin Coroutines", "1.8.1") {
prohibit {
versionRange "[1.9.0,)"
because "it requires Kotlin 2"
}
group("org.jetbrains.kotlinx") { group("org.jetbrains.kotlinx") {
imports = [ imports = [
"kotlinx-coroutines-bom" "kotlinx-coroutines-bom"