Remove intellij-core from testRuntime if full idea is already there
Looks like it makes tests flacky
This commit is contained in:
@@ -40,7 +40,6 @@ val testJvm6ServerRuntime by configurations.creating
|
|||||||
val antLauncherJar by configurations.creating
|
val antLauncherJar by configurations.creating
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep()) // Should come before compiler, because of "progarded" stuff needed for tests
|
testRuntime(intellijDep()) // Should come before compiler, because of "progarded" stuff needed for tests
|
||||||
|
|
||||||
depDistProjects.forEach {
|
depDistProjects.forEach {
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ dependencies {
|
|||||||
(rootProject.extra["compilerModules"] as Array<String>).forEach {
|
(rootProject.extra["compilerModules"] as Array<String>).forEach {
|
||||||
testCompile(project(it))
|
testCompile(project(it))
|
||||||
}
|
}
|
||||||
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||||
testCompile(intellijPluginDep("IntelliLang"))
|
testCompile(intellijPluginDep("IntelliLang"))
|
||||||
testCompile(intellijPluginDep("copyright"))
|
testCompile(intellijPluginDep("copyright"))
|
||||||
testCompile(intellijPluginDep("properties"))
|
testCompile(intellijPluginDep("properties"))
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ apply { plugin("kotlin") }
|
|||||||
val androidSdk by configurations.creating
|
val androidSdk by configurations.creating
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compileOnly(project(":kotlin-reflect-api"))
|
compileOnly(project(":kotlin-reflect-api"))
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ apply { plugin("kotlin") }
|
|||||||
val androidSdk by configurations.creating
|
val androidSdk by configurations.creating
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compileOnly(project(":idea"))
|
compileOnly(project(":idea"))
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compile(projectDist(":kotlin-stdlib"))
|
compile(projectDist(":kotlin-stdlib"))
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ dependencies {
|
|||||||
testRuntime(project(it))
|
testRuntime(project(it))
|
||||||
}
|
}
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(projectDist(":kotlin-reflect"))
|
testRuntime(projectDist(":kotlin-reflect"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ apply { plugin("kotlin") }
|
|||||||
val antLauncherJar by configurations.creating
|
val antLauncherJar by configurations.creating
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
testCompile(protobufFull())
|
testCompile(protobufFull())
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ description = "Kotlin AllOpen Compiler Plugin"
|
|||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compileOnly(project(":compiler:plugin-api"))
|
compileOnly(project(":compiler:plugin-api"))
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ val androidSdk by configurations.creating
|
|||||||
val androidJar by configurations.creating
|
val androidJar by configurations.creating
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compile(project(":compiler:util"))
|
compile(project(":compiler:util"))
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ apply { plugin("kotlin") }
|
|||||||
val androidSdk by configurations.creating
|
val androidSdk by configurations.creating
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compile(project(":compiler:util"))
|
compile(project(":compiler:util"))
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ description = "Annotation Processor for Kotlin"
|
|||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
testCompileOnly(intellijDep()) { includeJars("idea", "idea_rt", "openapi") }
|
testCompileOnly(intellijDep()) { includeJars("idea", "idea_rt", "openapi") }
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ description = "Kotlin NoArg Compiler Plugin"
|
|||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijDep())
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compileOnly(project(":compiler:frontend"))
|
compileOnly(project(":compiler:frontend"))
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ description = "Kotlin SamWithReceiver Compiler Plugin"
|
|||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
compileOnly(project(":compiler:frontend"))
|
compileOnly(project(":compiler:frontend"))
|
||||||
compileOnly(project(":compiler:frontend.java"))
|
compileOnly(project(":compiler:frontend.java"))
|
||||||
compileOnly(project(":compiler:plugin-api"))
|
compileOnly(project(":compiler:plugin-api"))
|
||||||
@@ -17,8 +19,7 @@ dependencies {
|
|||||||
testCompile(project(":compiler:tests-common"))
|
testCompile(project(":compiler:tests-common"))
|
||||||
testCompile(projectTests(":compiler:tests-common"))
|
testCompile(projectTests(":compiler:tests-common"))
|
||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||||
testRuntime(intellijDep())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ val springClasspath by configurations.creating
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
if (intellijUltimateEnabled) {
|
if (intellijUltimateEnabled) {
|
||||||
testRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
testRuntime(intellijUltimateDep())
|
testRuntime(intellijUltimateDep())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user