cff6d8cf17
...from script-util fix daemon usage in repls define compiler classpath for script-util tests explicitly minor refactorings in the build scripts for better import into idea
36 lines
643 B
Kotlin
36 lines
643 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(nativePlatformUberjar)
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
runtimeJar {
|
|
nativePlatformUberjar.forEach {
|
|
from(zipTree(it))
|
|
}
|
|
from(getSourceSetsFrom(":compiler:daemon-common")["main"].output.classesDirs)
|
|
}
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
dist()
|
|
|
|
ideaPlugin()
|
|
|
|
publish()
|