Convert compiler projects to the new intellij deps

This commit is contained in:
Ilya Chernikov
2017-12-08 13:24:45 +01:00
committed by Vyacheslav Gerasimov
parent a418a3ac49
commit 4eb557724c
23 changed files with 49 additions and 232 deletions
+4 -13
View File
@@ -3,10 +3,6 @@ apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin {
setExtraDependencies("jps-standalone", "jps-build-test")
}
dependencies {
compile(project(":compiler:util"))
compile(project(":compiler:cli"))
@@ -14,6 +10,7 @@ dependencies {
compile(project(":compiler:backend"))
compile(projectTests(":compiler:tests-common"))
compile(commonDep("junit:junit"))
compileOnly(intellijDep()) { includeJars("openapi") }
testCompile(project(":compiler:incremental-compilation-impl"))
testCompile(project(":core:descriptors"))
@@ -21,15 +18,9 @@ dependencies {
testCompile(project(":compiler:frontend.java"))
testCompile(projectTests(":jps-plugin"))
testCompile(commonDep("junit:junit"))
}
afterEvaluate {
dependencies {
compileOnly(intellij { include("openapi.jar") })
testCompile(intellij { include("openapi.jar", "idea.jar", "idea_rt.jar", "groovy-all-*.jar", "jps-builders.jar") })
testCompile(intellijExtra("jps-standalone") { include("jps-model.jar") })
testCompile(intellijExtra("jps-build-test"))
}
testCompile(intellijDep()) { includeJars("openapi", "idea", "idea_rt", "groovy-all-2.4.6", "jps-builders") }
testCompile(intellijDep("jps-standalone")) { includeJars("jps-model") }
testCompile(intellijDep("jps-build-test"))
}
sourceSets {