Remove intellij-core from testRuntime if full idea is already there

Looks like it makes tests flacky
This commit is contained in:
Vyacheslav Gerasimov
2018-01-29 15:52:03 +03:00
parent 29caa00f23
commit 68b5dc756c
14 changed files with 5 additions and 15 deletions
@@ -4,6 +4,8 @@ description = "Kotlin SamWithReceiver Compiler Plugin"
apply { plugin("kotlin") }
dependencies {
testRuntime(intellijDep())
compileOnly(project(":compiler:frontend"))
compileOnly(project(":compiler:frontend.java"))
compileOnly(project(":compiler:plugin-api"))
@@ -17,8 +19,7 @@ dependencies {
testCompile(project(":compiler:tests-common"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(commonDep("junit:junit"))
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
testRuntime(intellijDep())
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
}
sourceSets {