[Gradle] Remove kotlinx.coroutines from KGP compile classpath
- Replace CompletableDeferred with a simple 'Completable' - Replace withContext usage for 'withRestrictedStages' with custom implementation ^KT-58162 Verification Pending
This commit is contained in:
committed by
Space Team
parent
97d6b71654
commit
476c209bf4
@@ -60,6 +60,7 @@ dependencies {
|
||||
}
|
||||
commonCompileOnly(project(":kotlin-tooling-metadata"))
|
||||
|
||||
|
||||
commonImplementation(project(":kotlin-gradle-plugin-idea"))
|
||||
commonImplementation(project(":kotlin-gradle-plugin-idea-proto"))
|
||||
commonImplementation(project(":kotlin-util-klib"))
|
||||
@@ -110,6 +111,8 @@ dependencies {
|
||||
testImplementation(project(":kotlin-tooling-metadata"))
|
||||
}
|
||||
|
||||
configurations.commonCompileClasspath.get().exclude("org.jetbrains.kotlinx", "kotlinx-coroutines-core")
|
||||
|
||||
if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
configurations.commonApi.get().exclude("com.android.tools.external.com-intellij", "intellij-core")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user