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.6"
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
val jflexPath by configurations.creating
dependencies {
@@ -17,16 +13,11 @@ dependencies {
compile(project(":compiler:resolution"))
compile(projectDist(":kotlin-script-runtime"))
compile(commonDep("io.javaslang","javaslang"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("annotations", "trove4j", "guava-21.0") }
jflexPath(commonDep("org.jetbrains.intellij.deps.jflex", "jflex"))
}
afterEvaluate {
dependencies {
compileOnly(intellijCoreJar())
compileOnly(intellij { include("annotations.jar", "trove4j.jar", "guava-*.jar") })
}
}
sourceSets {
"main" { projectDefault() }
"test" {}