Files
kotlin-fork/compiler/daemon/daemon-client/build.gradle.kts
T
Alexander Udalov aca74cef0e Replace dependencies on kotlin-reflect with kotlin-reflect-api
See the previous commit for information on the kotlin-reflect vs
kotlin-reflect-api distinction.

Add kotlin-reflect as an explicit runtime dependency of most of the test
configurations because even though they all depend on tests-common, the
runtime dependency on kotlin-reflect is not exported from tests-common
to other modules because the projectTests dependency is not transitive.
2017-11-28 12:35:49 +01:00

37 lines
691 B
Kotlin

description = "Kotlin Daemon Client"
apply { plugin("kotlin") }
jvmTarget = "1.6"
val nativePlatformUberjar = preloadedDeps("native-platform-uberjar")
dependencies {
compileOnly(project(":compiler:util"))
compileOnly(project(":compiler:cli-common"))
compileOnly(project(":compiler:daemon-common"))
compileOnly(project(":kotlin-reflect-api"))
compileOnly(nativePlatformUberjar)
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
runtimeJar {
nativePlatformUberjar.forEach {
from(zipTree(it))
}
from(getSourceSetsFrom(":compiler:daemon-common")["main"].output.classesDirs)
}
sourcesJar()
javadocJar()
dist()
ideaPlugin()
publish()