193: Update to 193.3793.14-EAP-SNAPSHOT
This commit is contained in:
@@ -25,10 +25,16 @@ dependencies {
|
||||
testCompile(projectTests(":idea:idea-gradle"))
|
||||
|
||||
compileOnly(intellijPluginDep("gradle"))
|
||||
Platform[193].orHigher {
|
||||
compileOnly(intellijPluginDep("gradle-java"))
|
||||
}
|
||||
compileOnly(intellijPluginDep("Groovy"))
|
||||
compileOnly(intellijDep())
|
||||
|
||||
testCompile(intellijPluginDep("gradle"))
|
||||
Platform[193].orHigher {
|
||||
testCompile(intellijPluginDep("gradle-java"))
|
||||
}
|
||||
testCompileOnly(intellijPluginDep("Groovy"))
|
||||
testCompileOnly(intellijDep())
|
||||
|
||||
@@ -55,6 +61,9 @@ dependencies {
|
||||
testRuntime(intellijPluginDep("testng"))
|
||||
testRuntime(intellijPluginDep("properties"))
|
||||
testRuntime(intellijPluginDep("gradle"))
|
||||
Platform[193].orHigher {
|
||||
testRuntime(intellijPluginDep("gradle-java"))
|
||||
}
|
||||
testRuntime(intellijPluginDep("Groovy"))
|
||||
testRuntime(intellijPluginDep("coverage"))
|
||||
if (Ide.IJ()) {
|
||||
|
||||
@@ -18,6 +18,9 @@ dependencies {
|
||||
|
||||
compileOnly(intellijDep())
|
||||
compileOnly(intellijPluginDep("gradle"))
|
||||
Platform[193].orHigher {
|
||||
compileOnly(intellijPluginDep("gradle-java"))
|
||||
}
|
||||
compileOnly(intellijPluginDep("Groovy"))
|
||||
compileOnly(intellijPluginDep("junit"))
|
||||
compileOnly(intellijPluginDep("testng"))
|
||||
@@ -32,6 +35,9 @@ dependencies {
|
||||
testCompile(projectTests(":idea:idea-test-framework"))
|
||||
|
||||
testCompile(intellijPluginDep("gradle"))
|
||||
Platform[193].orHigher {
|
||||
testCompile(intellijPluginDep("gradle-java"))
|
||||
}
|
||||
testCompileOnly(intellijPluginDep("Groovy"))
|
||||
testCompileOnly(intellijDep())
|
||||
|
||||
@@ -56,6 +62,9 @@ dependencies {
|
||||
testRuntime(intellijPluginDep("testng"))
|
||||
testRuntime(intellijPluginDep("properties"))
|
||||
testRuntime(intellijPluginDep("gradle"))
|
||||
Platform[193].orHigher {
|
||||
testRuntime(intellijPluginDep("gradle-java"))
|
||||
}
|
||||
testRuntime(intellijPluginDep("Groovy"))
|
||||
testRuntime(intellijPluginDep("coverage"))
|
||||
if (Ide.IJ()) {
|
||||
|
||||
@@ -65,8 +65,8 @@ abstract class AbstractQuickFixMultiFileTest : KotlinLightCodeInsightFixtureTest
|
||||
|
||||
private fun enableInspectionTools(klass: Class<*>) {
|
||||
val eps = ContainerUtil.newArrayList<InspectionEP>()
|
||||
ContainerUtil.addAll<InspectionEP, LocalInspectionEP, List<InspectionEP>>(eps, *Extensions.getExtensions(LocalInspectionEP.LOCAL_INSPECTION))
|
||||
ContainerUtil.addAll<InspectionEP, InspectionEP, List<InspectionEP>>(eps, *Extensions.getExtensions(InspectionEP.GLOBAL_INSPECTION))
|
||||
ContainerUtil.addAll(eps, *Extensions.getExtensions(LocalInspectionEP.LOCAL_INSPECTION))
|
||||
ContainerUtil.addAll(eps, *Extensions.getExtensions(InspectionEP.GLOBAL_INSPECTION))
|
||||
|
||||
val tool = eps.firstOrNull { it.implementationClass == klass.name }?.instantiateTool()
|
||||
?: error("Could not find inspection tool for class: $klass")
|
||||
|
||||
Reference in New Issue
Block a user