Remove intellij-core from testRuntime if full idea is already there
Looks like it makes tests flacky
This commit is contained in:
@@ -4,7 +4,6 @@ description = "Kotlin AllOpen Compiler Plugin"
|
||||
apply { plugin("kotlin") }
|
||||
|
||||
dependencies {
|
||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
testRuntime(intellijDep())
|
||||
|
||||
compileOnly(project(":compiler:plugin-api"))
|
||||
|
||||
@@ -9,7 +9,6 @@ val androidSdk by configurations.creating
|
||||
val androidJar by configurations.creating
|
||||
|
||||
dependencies {
|
||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
testRuntime(intellijDep())
|
||||
|
||||
compile(project(":compiler:util"))
|
||||
|
||||
@@ -4,7 +4,6 @@ apply { plugin("kotlin") }
|
||||
val androidSdk by configurations.creating
|
||||
|
||||
dependencies {
|
||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
testRuntime(intellijDep())
|
||||
|
||||
compile(project(":compiler:util"))
|
||||
|
||||
@@ -4,7 +4,7 @@ description = "Annotation Processor for Kotlin"
|
||||
apply { plugin("kotlin") }
|
||||
|
||||
dependencies {
|
||||
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
testRuntime(intellijDep())
|
||||
testCompileOnly(intellijDep()) { includeJars("idea", "idea_rt", "openapi") }
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ description = "Kotlin NoArg Compiler Plugin"
|
||||
apply { plugin("kotlin") }
|
||||
|
||||
dependencies {
|
||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
testRuntime(intellijDep())
|
||||
|
||||
compileOnly(project(":compiler:frontend"))
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user