Add missing artifact, fix some deps and publishing

This commit is contained in:
Ilya Chernikov
2017-09-10 22:25:59 +02:00
parent a8c45819a1
commit 46884bec84
12 changed files with 78 additions and 47 deletions
+16
View File
@@ -1,9 +1,14 @@
description = "Compiler runner + daemon client"
apply { plugin("kotlin") }
jvmTarget = "1.6"
val packIntoJar by configurations.creating
dependencies {
val compile by configurations
compile(project(":kotlin-build-common"))
compile(project(":compiler:cli-common"))
compile(project(":kotlin-preloader"))
@@ -11,6 +16,7 @@ dependencies {
compile(project(":compiler:daemon-common"))
compile(project(":kotlin-daemon-client"))
compile(project(":compiler:util"))
packIntoJar(projectClasses(":compiler:daemon-common"))
}
sourceSets {
@@ -18,3 +24,13 @@ sourceSets {
"test" {}
}
evaluationDependsOn(":kotlin-daemon-client")
runtimeJar {
from(packIntoJar)
from(project(":kotlin-daemon-client").the<JavaPluginConvention>().sourceSets["main"].output.classesDirs)
}
sourcesJar()
javadocJar()
publish()
@@ -7,11 +7,14 @@ jvmTarget = "1.6"
val nativePlatformUberjar = preloadedDeps("native-platform-uberjar")
val packIntoJar by configurations.creating
dependencies {
compileOnly(project(":compiler:util"))
compileOnly(project(":compiler:cli-common"))
compileOnly(project(":compiler:daemon-common"))
compileOnly(nativePlatformUberjar)
packIntoJar(projectClasses(":compiler:daemon-common"))
}
sourceSets {
@@ -23,8 +26,10 @@ runtimeJar {
nativePlatformUberjar.forEach {
from(zipTree(it))
}
from(packIntoJar)
}
sourcesJar()
javadocJar()
dist()
@@ -16,3 +16,4 @@ sourceSets {
"test" {}
}
classesDirsArtifact()