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
+2 -11
View File
@@ -3,10 +3,6 @@ apply { plugin("kotlin") }
jvmTarget = "1.8"
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":compiler:util"))
compile(project(":compiler:cli-common"))
@@ -24,6 +20,8 @@ dependencies {
compile(commonDep("org.fusesource.jansi", "jansi"))
compile(commonDep("org.jline", "jline"))
compile(files("${System.getProperty("java.home")}/../lib/tools.jar"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeIntellijCoreJarDependencies(project) }
testCompile(project(":compiler:backend"))
testCompile(project(":compiler:cli"))
@@ -32,13 +30,6 @@ dependencies {
testCompile(commonDep("junit:junit"))
}
afterEvaluate {
dependencies {
compileOnly(intellijCoreJar())
compileOnly(intellijCoreJarDependencies())
}
}
sourceSets {
"main" {
projectDefault()
+2 -11
View File
@@ -3,23 +3,14 @@ apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":core:util.runtime"))
compile(project(":compiler:frontend"))
compile(project(":compiler:frontend.java"))
compile(project(":compiler:frontend.script"))
compileOnly(project(":kotlin-reflect-api"))
}
afterEvaluate {
dependencies {
compileOnly(intellijCoreJar())
compileOnly(intellijCoreJarDependencies())
}
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeIntellijCoreJarDependencies(project) }
}
sourceSets {