Always depend on runtimeJar of kotlin-daemon-client
This commit is contained in:
@@ -66,7 +66,7 @@ dependencies {
|
|||||||
testCompile(projectTests(":generators:test-generator"))
|
testCompile(projectTests(":generators:test-generator"))
|
||||||
testCompile(project(":compiler:ir.ir2cfg"))
|
testCompile(project(":compiler:ir.ir2cfg"))
|
||||||
testCompile(project(":compiler:ir.tree")) // used for deepCopyWithSymbols call that is removed by proguard from the compiler TODO: make it more straightforward
|
testCompile(project(":compiler:ir.tree")) // used for deepCopyWithSymbols call that is removed by proguard from the compiler TODO: make it more straightforward
|
||||||
testCompileOnly(project(":kotlin-daemon-client"))
|
testCompileOnly(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
testCompileOnly(project(":kotlin-reflect-api"))
|
testCompileOnly(project(":kotlin-reflect-api"))
|
||||||
otherCompilerModules.forEach {
|
otherCompilerModules.forEach {
|
||||||
testCompileOnly(project(it))
|
testCompileOnly(project(it))
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ dependencies {
|
|||||||
compileOnly(project(":kotlin-preloader"))
|
compileOnly(project(":kotlin-preloader"))
|
||||||
compileOnly(project(":compiler:frontend.java"))
|
compileOnly(project(":compiler:frontend.java"))
|
||||||
compileOnly(project(":compiler:daemon-common"))
|
compileOnly(project(":compiler:daemon-common"))
|
||||||
compile(project(":kotlin-daemon-client"))
|
compile(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
compileOnly(project(":compiler:util"))
|
compileOnly(project(":compiler:util"))
|
||||||
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||||
runtimeOnly(projectRuntimeJar(":kotlin-compiler-embeddable"))
|
runtimeOnly(projectRuntimeJar(":kotlin-compiler-embeddable"))
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ sourceSets {
|
|||||||
"test" {}
|
"test" {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
noDefaultJar()
|
||||||
|
|
||||||
runtimeJar(task<ShadowJar>("shadowJar")) {
|
runtimeJar(task<ShadowJar>("shadowJar")) {
|
||||||
from(the<JavaPluginConvention>().sourceSets.getByName("main").output)
|
from(the<JavaPluginConvention>().sourceSets.getByName("main").output)
|
||||||
fromEmbeddedComponents()
|
fromEmbeddedComponents()
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ dependencies {
|
|||||||
testCompile(project(":kotlin-stdlib"))
|
testCompile(project(":kotlin-stdlib"))
|
||||||
testCompile(project(":kotlin-script-runtime"))
|
testCompile(project(":kotlin-script-runtime"))
|
||||||
testCompile(project(":kotlin-script-util"))
|
testCompile(project(":kotlin-script-util"))
|
||||||
testCompile(project(":kotlin-daemon-client"))
|
testCompile(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
testCompile(projectRuntimeJar(":kotlin-compiler-embeddable"))
|
testCompile(projectRuntimeJar(":kotlin-compiler-embeddable"))
|
||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
testCompile(project(":kotlin-test:kotlin-test-junit"))
|
testCompile(project(":kotlin-test:kotlin-test-junit"))
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ dependencies {
|
|||||||
compile(project(":kotlin-script-runtime"))
|
compile(project(":kotlin-script-runtime"))
|
||||||
compileOnly(project(":compiler:cli"))
|
compileOnly(project(":compiler:cli"))
|
||||||
compileOnly(project(":compiler:daemon-common"))
|
compileOnly(project(":compiler:daemon-common"))
|
||||||
compile(project(":kotlin-daemon-client"))
|
compile(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
compileOnly("com.jcabi:jcabi-aether:0.10.1")
|
compileOnly("com.jcabi:jcabi-aether:0.10.1")
|
||||||
compileOnly("org.sonatype.aether:aether-api:1.13.1")
|
compileOnly("org.sonatype.aether:aether-api:1.13.1")
|
||||||
compileOnly("org.apache.maven:maven-core:3.0.3")
|
compileOnly("org.apache.maven:maven-core:3.0.3")
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ dependencies {
|
|||||||
testCompile(project(":compiler:cli-common"))
|
testCompile(project(":compiler:cli-common"))
|
||||||
testCompile(project(":compiler:frontend.java"))
|
testCompile(project(":compiler:frontend.java"))
|
||||||
testCompile(project(":compiler:daemon-common"))
|
testCompile(project(":compiler:daemon-common"))
|
||||||
testCompile(project(":kotlin-daemon-client"))
|
testCompile(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
testCompile(projectTests(":compiler:tests-common"))
|
testCompile(projectTests(":compiler:tests-common"))
|
||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ dependencies {
|
|||||||
jarContents(projectRuntimeJar(":kotlin-daemon-client"))
|
jarContents(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
testCompile(project(":compiler:cli-common"))
|
testCompile(project(":compiler:cli-common"))
|
||||||
testCompile(project(":compiler:daemon-common"))
|
testCompile(project(":compiler:daemon-common"))
|
||||||
testCompile(project(":kotlin-daemon-client"))
|
testCompile(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
||||||
testCompile(projectDist(":kotlin-test:kotlin-test-junit"))
|
testCompile(projectDist(":kotlin-test:kotlin-test-junit"))
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ val projectsToShadow = listOf(
|
|||||||
":kotlin-build-common",
|
":kotlin-build-common",
|
||||||
":compiler:cli-common",
|
":compiler:cli-common",
|
||||||
":kotlin-compiler-runner",
|
":kotlin-compiler-runner",
|
||||||
":kotlin-daemon-client",
|
|
||||||
":compiler:daemon-common",
|
":compiler:daemon-common",
|
||||||
":core:descriptors",
|
":core:descriptors",
|
||||||
":core:descriptors.jvm",
|
":core:descriptors.jvm",
|
||||||
@@ -28,6 +27,7 @@ dependencies {
|
|||||||
projectsToShadow.forEach {
|
projectsToShadow.forEach {
|
||||||
embeddedComponents(project(it)) { isTransitive = false }
|
embeddedComponents(project(it)) { isTransitive = false }
|
||||||
}
|
}
|
||||||
|
embeddedComponents(projectRuntimeJar(":kotlin-daemon-client"))
|
||||||
}
|
}
|
||||||
|
|
||||||
runtimeJar<ShadowJar>(task<ShadowJar>("jar")) {
|
runtimeJar<ShadowJar>(task<ShadowJar>("jar")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user