Build: Make toolsJarApi() helper for JPS build

This commit is contained in:
Vyacheslav Gerasimov
2020-02-24 01:03:54 +03:00
parent c75ad13b66
commit f735396ffb
9 changed files with 17 additions and 11 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ dependencies {
compile(kotlinStdlib())
compile(project(":compiler:backend"))
compileOnly(project(":dependencies:tools-jar-api"))
compileOnly(toolsJarApi())
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "asm-all", rootProject = rootProject) }
testCompileOnly(project(":dependencies:tools-jar-api"))
testCompileOnly(toolsJarApi())
testCompile(project(":kotlin-test:kotlin-test-junit"))
testCompile(commonDep("junit:junit"))
testCompile(intellijDep()) { includeJars("asm-all", rootProject = rootProject) }
@@ -11,7 +11,7 @@ dependencies {
compile(project(":idea:ide-common"))
compile(project(":idea:jvm-debugger:jvm-debugger-util"))
compileOnly(project(":dependencies:tools-jar-api"))
compileOnly(toolsJarApi())
compileOnly(intellijDep())
Platform[192].orHigher {
@@ -10,7 +10,7 @@ dependencies {
compile(project(":idea:idea-j2k"))
compile(project(":idea:jvm-debugger:jvm-debugger-util"))
compileOnly(project(":dependencies:tools-jar-api"))
compileOnly(toolsJarApi())
Platform[192].orHigher {
compileOnly(intellijPluginDep("java"))
}
@@ -7,7 +7,7 @@ dependencies {
compile(project(":compiler:backend"))
compile(project(":idea:ide-common"))
compileOnly(project(":dependencies:tools-jar-api"))
compileOnly(toolsJarApi())
compileOnly(intellijDep())
Platform[192].orHigher {
compileOnly(intellijPluginDep("java"))
@@ -11,7 +11,7 @@ dependencies {
// TODO: get rid of this
compile(project(":idea:jvm-debugger:eval4j"))
compileOnly(project(":dependencies:tools-jar-api"))
compileOnly(toolsJarApi())
Platform[192].orHigher {
compileOnly(intellijPluginDep("java"))