kotlinResolution.settings.gradle.kts (16 lines of code) (raw):

// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 dependencyResolutionManagement { versionCatalogs { maybeCreate("libs").apply { // pull value from IJ library list: https://github.com/JetBrains/intellij-community/blob/<mv>/.idea/libraries/kotlinx_coroutines_core.xml val version = when (providers.gradleProperty("ideProfileName").getOrNull() ?: return@apply) { "2024.2" -> { "1.8.0-intellij-9" } "2024.3", "2025.1" -> { "1.8.0-intellij-11" } else -> { error("not set") } } version("kotlinxCoroutines", version) } } }