xref: /aosp_15_r20/external/kotlinx.coroutines/buildSrc/settings.gradle.kts (revision 7a7160fed73afa6648ef8aa100d4a336fe921d9a)

<lambda>null1 pluginManagement {
2     val build_snapshot_train: String? by settings
3     repositories {
4         val cacheRedirectorEnabled = System.getenv("CACHE_REDIRECTOR")?.toBoolean() == true
5         if (cacheRedirectorEnabled) {
6             println("Redirecting repositories for buildSrc buildscript")
7             maven("https://cache-redirector.jetbrains.com/plugins.gradle.org/m2")
8         } else {
9             maven("https://plugins.gradle.org/m2")
10         }
11         if (build_snapshot_train?.toBoolean() == true) {
12             mavenLocal()
13         }
14     }
15 }
16