Fix projects for gradle integration tests
This commit is contained in:
@@ -5,18 +5,14 @@ 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"))
|
||||
compile(project(":compiler:frontend.java"))
|
||||
compile(project(":compiler:daemon-common"))
|
||||
compileOnly(project(":compiler:cli-common"))
|
||||
compileOnly(project(":kotlin-preloader"))
|
||||
compileOnly(project(":compiler:frontend.java"))
|
||||
compileOnly(project(":compiler:daemon-common"))
|
||||
compile(project(":kotlin-daemon-client"))
|
||||
compile(project(":compiler:util"))
|
||||
packIntoJar(projectClasses(":compiler:daemon-common"))
|
||||
compileOnly(project(":compiler:util"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -24,11 +20,9 @@ sourceSets {
|
||||
"test" {}
|
||||
}
|
||||
|
||||
evaluationDependsOn(":kotlin-daemon-client")
|
||||
|
||||
runtimeJar {
|
||||
from(packIntoJar)
|
||||
from(project(":kotlin-daemon-client").the<JavaPluginConvention>().sourceSets["main"].output.classesDirs)
|
||||
from(getSourceSetsFrom(":kotlin-daemon-client")["main"].output.classesDirs)
|
||||
from(getSourceSetsFrom(":compiler:daemon-common")["main"].output.classesDirs)
|
||||
}
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
Reference in New Issue
Block a user