Build: Fix usages of "java.home" for tools.jar dependency

#KT-33984
This commit is contained in:
Vyacheslav Gerasimov
2019-09-24 15:34:20 +03:00
parent eae6fbad3a
commit c1e1dbd83e
13 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ plugins {
dependencies {
compile(kotlinStdlib())
compile(project(":compiler:backend"))
compile(files(toolsJar()))
compile(toolsJar())
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "asm-all", rootProject = rootProject) }
testCompile(project(":kotlin-test:kotlin-test-junit"))
testCompile(commonDep("junit:junit"))
@@ -10,7 +10,7 @@ dependencies {
compile(project(":idea:idea-core"))
compile(project(":idea:ide-common"))
compile(project(":idea:jvm-debugger:jvm-debugger-util"))
compile(files("${System.getProperty("java.home")}/../lib/tools.jar"))
compile(toolsJar())
compileOnly(intellijDep())
@@ -9,7 +9,7 @@ dependencies {
compile(project(":idea:idea-core"))
compile(project(":idea:idea-j2k"))
compile(project(":idea:jvm-debugger:jvm-debugger-util"))
compile(files("${System.getProperty("java.home")}/../lib/tools.jar"))
compile(toolsJar())
Platform[192].orHigher {
compileOnly(intellijPluginDep("java"))
}
@@ -6,7 +6,7 @@ plugins {
dependencies {
compile(project(":compiler:backend"))
compile(project(":idea:ide-common"))
compile(files("${System.getProperty("java.home")}/../lib/tools.jar"))
compile(toolsJar())
compileOnly(intellijDep())
Platform[192].orHigher {
@@ -11,7 +11,7 @@ dependencies {
// TODO: get rid of this
compile(project(":idea:jvm-debugger:eval4j"))
compile(files("${System.getProperty("java.home")}/../lib/tools.jar"))
compile(toolsJar())
Platform[192].orHigher {
compileOnly(intellijPluginDep("java"))