Convert compiler projects to the new intellij deps
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
a418a3ac49
commit
4eb557724c
@@ -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" {}
|
||||
|
||||
Reference in New Issue
Block a user