1 /* 2 * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 import org.gradle.kotlin.dsl.* 5 import org.jetbrains.kotlin.gradle.dsl.* 6 7 <lambda>null8configure(subprojects.filter { it.name !in unpublished }) { 9 if (name == "kotlinx-coroutines-bom" || name == "kotlinx.coroutines") return@configure 10 if (isMultiplatform) { <lambda>null11 kotlinExtension.sourceSets.getByName("jvmMain").dependencies { 12 api(project.dependencies.platform(project(":kotlinx-coroutines-bom"))) 13 } 14 } else { <lambda>null15 dependencies { 16 "api"(platform(project(":kotlinx-coroutines-bom"))) 17 } 18 } 19 } 20