[build scripts] update check of class-file versions to Java 11 (IDEA-241075)
authorNikolay Chashnikov <Nikolay.Chashnikov@jetbrains.com>
Tue, 16 Jun 2020 17:33:05 +0000 (20:33 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Tue, 11 Aug 2020 17:11:28 +0000 (17:11 +0000)
GitOrigin-RevId: 844009aad248b8d297ef86748af85384b64d0aaf

build/groovy/org/jetbrains/intellij/build/BaseIdeaProperties.groovy
build/groovy/org/jetbrains/intellij/build/IntelliJCoreArtifactsBuilder.groovy

index 1f1c34f4467b84392b009b775f98244c18edf25c..e77c2dc7c1fb73d283ad5a22c647ef5fcddea9d8 100644 (file)
@@ -72,7 +72,7 @@ abstract class BaseIdeaProperties extends JetBrainsProductProperties {
     "intellij.grazie"
   ]
   protected static final Map<String, String> CE_CLASS_VERSIONS = [
-    ""                                                          : "1.8",
+    ""                                                          : "11",
     "lib/idea_rt.jar"                                           : "1.6",
     "lib/forms_rt.jar"                                          : "1.6",
     "lib/annotations.jar"                                       : "1.6",
index be4269724f4303406c8c308a1984a867d9d409d0..1e536f36d177b9e34c720c90695bf91e183c6b37 100644 (file)
@@ -85,7 +85,7 @@ class IntelliJCoreArtifactsBuilder {
       ant.move(file: "$coreArtifactDir/annotations-java5.jar", tofile: "$coreArtifactDir/annotations.jar")
       buildContext.notifyArtifactBuilt(coreArtifactDir)
 
-      new ClassVersionChecker(["": "1.8"]).checkVersions(buildContext, new File(coreArtifactDir))
+      new ClassVersionChecker(["": "1.8", "intellij-core-analysis-deprecated.jar": "11"]).checkVersions(buildContext, new File(coreArtifactDir))
 
       def intellijCoreZip = "${buildContext.paths.artifacts}/intellij-core-${buildContext.buildNumber}.zip"
       ant.zip(destfile: intellijCoreZip) {