Files
kotlin-fork/compiler/daemon/build.gradle.kts
T
Nikita Bobko 69cf454747 Drop org.jline and org.fusesource.jansi redundant dependencies
Reasons:
1. Those modules don't use this dependency
2. Unbundled JPS feature in IDE downloads all transitive dependencies of
   kotlin-dist-for-jps-meta => downloads org.jline and puts it into dist
   which is not needed
2022-05-30 17:09:28 +02:00

47 lines
1.0 KiB
Kotlin

description = "Kotlin Daemon"
plugins {
kotlin("jvm")
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(project(":daemon-common-new"))
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
runtimeOnly(project(":kotlin-reflect"))
embedded(project(":daemon-common")) { isTransitive = false }
api(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) {
isTransitive = false
}
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
publish()
runtimeJar()
sourcesJar()
javadocJar()
tasks {
val compileKotlin by existing(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlinx.coroutines.DelicateCoroutinesApi"
}
}
}