193: Update to 193.3793.14-EAP-SNAPSHOT

This commit is contained in:
Vyacheslav Gerasimov
2019-09-30 15:50:39 +03:00
parent 7e9cfbc91a
commit f38123e78c
8 changed files with 45 additions and 8 deletions
+1
View File
@@ -65,6 +65,7 @@ messages/**)
-dontwarn org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl
-dontwarn org.checkerframework.checker.nullness.qual.Nullable
-dontwarn org.checkerframework.checker.nullness.qual.MonotonicNonNull
-dontwarn org.checkerframework.checker.nullness.qual.NonNull
# Depends on apache batick which has lots of dependencies
-dontwarn com.intellij.util.SVGLoader*
+3 -2
View File
@@ -1,8 +1,8 @@
versions.intellijSdk=193.2956.37-EAP-SNAPSHOT
versions.intellijSdk=193.3793.14-EAP-SNAPSHOT
versions.androidBuildTools=r23.0.1
versions.idea.NodeJS=181.3494.12
versions.jar.asm-all=7.0.1
versions.jar.guava=25.1-jre
versions.jar.guava=27.1-jre
versions.jar.groovy-all=2.4.17
versions.jar.lombok-ast=0.2.3
versions.jar.swingx-core=1.6.2-2
@@ -11,5 +11,6 @@ versions.jar.streamex=0.6.8
versions.jar.gson=2.8.5
versions.jar.oro=2.0.8
versions.jar.picocontainer=1.2
versions.jar.teamcity-service-messages=2019.1.4-alpha
ignore.jar.snappy-in-java=true
versions.gradle-api=4.5.1
+9
View File
@@ -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()) {
+9
View File
@@ -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")
@@ -65,15 +65,32 @@ dependencies {
runtime(project(":kotlin-reflect"))
jarContents(compileOnly(intellijDep()) {
includeJars("asm-all", "serviceMessages", "gson", rootProject = rootProject)
includeJars("asm-all", "gson", rootProject = rootProject)
})
jarContents(compileOnly(intellijDep()) {
if (Platform.P193.orHigher()) {
includeJars("teamcity-service-messages", rootProject = rootProject)
} else {
includeJars("serviceMessages", rootProject = rootProject)
}
})
// com.android.tools.build:gradle has ~50 unneeded transitive dependencies
compileOnly("com.android.tools.build:gradle:3.0.0") { isTransitive = false }
compileOnly("com.android.tools.build:gradle-core:3.0.0") { isTransitive = false }
compileOnly("com.android.tools.build:builder-model:3.0.0") { isTransitive = false }
testCompile(intellijDep()) { includeJars("serviceMessages", "junit", rootProject = rootProject) }
testCompile(intellijDep()) { includeJars( "junit", rootProject = rootProject) }
testCompile(intellijDep()) {
if (Platform.P193.orHigher()) {
includeJars("teamcity-service-messages", rootProject = rootProject)
} else {
includeJars("serviceMessages", rootProject = rootProject)
}
}
testCompileOnly(project(":compiler"))
testCompile(projectTests(":kotlin-build-common"))
testCompile(project(":kotlin-android-extensions"))
@@ -508,7 +508,7 @@ internal open class TCServiceMessagesClient(
if (currentLeaf is TestNode) {
currentTest = currentLeaf
output.append(currentLeaf.allOutput)
currentLeaf.failure(TestFailed(currentLeaf.cleanName, null))
currentLeaf.failure(TestFailed(currentLeaf.cleanName, null as Throwable?))
}
close(ts, currentLeaf.localId)
@@ -77,7 +77,7 @@ private class CanBeShortenedCache(project: Project) {
}
fun canBeShortened(symbol: JKClassSymbol): Boolean = canBeShortenedCache.getOrPut(symbol.name) {
!shortNameCache.processClassesWithName(symbol.name, Processor.FALSE, searchScope, null)
!shortNameCache.processClassesWithName(symbol.name, { false }, searchScope, null)
}
companion object {