aca74cef0e
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.
37 lines
691 B
Kotlin
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()
|