Cleanup unused Kotlin daemon dependencies

This commit is contained in:
Yahor Berdnikau
2023-01-18 13:28:49 +01:00
parent 60a8bb9a73
commit 8f07a9cc61
7 changed files with 11 additions and 58 deletions
-17
View File
@@ -5,22 +5,15 @@ plugins {
id("jps-compatible")
}
val ktorExcludesForDaemon : List<Pair<String, String>> by rootProject.extra
dependencies {
compileOnly(project(":compiler:cli"))
compileOnly(project(":compiler:cli-js"))
compileOnly(project(":compiler:incremental-compilation-impl"))
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
runtimeOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
embedded(project(":daemon-common")) { isTransitive = false }
api(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) {
isTransitive = false
}
}
optInToExperimentalCompilerApi()
@@ -33,15 +26,5 @@ sourceSets {
publish()
runtimeJar()
sourcesJar()
javadocJar()
tasks {
val compileKotlin by existing(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlinx.coroutines.DelicateCoroutinesApi"
}
}
}