Skip to content

Commit 31d8b41

Browse files
committed
chore: min SDK version is now 2022.3 / JDK 17
1 parent dd543fd commit 31d8b41

File tree

5 files changed

+11
-49
lines changed

5 files changed

+11
-49
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,14 @@ jobs:
1616
env:
1717
# see https://www.jetbrains.com/idea/download/previous.html
1818
# and https://www.jetbrains.com/intellij-repository/snapshots/
19-
- IDEA_VERSION: IC-2020.3 # Oldest supported version
20-
- IDEA_VERSION: IC-2021.3.3
21-
- IDEA_VERSION: IC-2022.3.3
22-
JDK_VERSION: 17
19+
- IDEA_VERSION: IC-2022.3 # Oldest supported version
2320
- IDEA_VERSION: IC-2023.1
24-
JDK_VERSION: 17
2521
- IDEA_VERSION: IC-2023.3.2
26-
JDK_VERSION: 17
2722
- IDEA_VERSION: IU-LATEST-EAP-SNAPSHOT
28-
JDK_VERSION: 17
2923

3024
steps:
3125
- uses: actions/checkout@v3
32-
- name: Set up JDK 11
33-
if: matrix.env.JDK_VERSION != '17'
34-
uses: actions/setup-java@v3
35-
with:
36-
java-version: 11
37-
distribution: temurin
3826
- name: Set up JDK 17
39-
if: matrix.env.JDK_VERSION == '17'
4027
uses: actions/setup-java@v3
4128
with:
4229
java-version: 17
@@ -50,4 +37,4 @@ jobs:
5037
with:
5138
name: "antlr-intellij-development"
5239
path: build/distributions/antlr-intellij-plugin-v4-*.zip
53-
if: matrix.env.IDEA_VERSION == 'IC-2020.3'
40+
if: matrix.env.IDEA_VERSION == 'IC-2022.3'

.github/workflows/release.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,21 @@ jobs:
1818
env:
1919
# see https://www.jetbrains.com/idea/download/previous.html
2020
# and https://www.jetbrains.com/intellij-repository/snapshots/
21-
- IDEA_VERSION: IC-2020.3 # Oldest supported version
22-
SINCE_VERSION: 203
23-
UNTIL_VERSION: 210.*
24-
VERSION_SUFFIX: "-2020"
25-
- IDEA_VERSION: IC-2021.3.3
26-
SINCE_VERSION: 210
27-
UNTIL_VERSION: 220.*
28-
VERSION_SUFFIX: "-2021"
2921
- IDEA_VERSION: IC-2022.3.3
30-
SINCE_VERSION: 220
22+
SINCE_VERSION: 223
3123
UNTIL_VERSION: 230.*
3224
VERSION_SUFFIX: "-2022"
33-
JDK_VERSION: 17
3425
- IDEA_VERSION: IC-2023.1
3526
SINCE_VERSION: 230
36-
JDK_VERSION: 17
27+
UNTIL_VERSION: 240.*
28+
VERSION_SUFFIX: "-2023"
29+
- IDEA_VERSION: IC-2023.1
30+
SINCE_VERSION: 240
3731
VERSION_SUFFIX:
3832

3933
steps:
4034
- uses: actions/checkout@v3
41-
- name: Set up JDK 11
42-
if: matrix.env.JDK_VERSION != '17'
43-
uses: actions/setup-java@v3
44-
with:
45-
java-version: 11
46-
distribution: temurin
4735
- name: Set up JDK 17
48-
if: matrix.env.JDK_VERSION == '17'
4936
uses: actions/setup-java@v3
5037
with:
5138
java-version: 17

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IntelliJ Idea Plugin for ANTLR v4 ![Java CI](https://github.com/antlr/intellij-plugin-v4/workflows/Java%20CI/badge.svg?branch=master) [![Latest version](https://img.shields.io/jetbrains/plugin/v/7358.svg?label=latest%20version)](https://plugins.jetbrains.com/plugin/7358) ![Downloads](https://img.shields.io/jetbrains/plugin/d/7358.svg)
22

3-
An [IntelliJ](https://www.jetbrains.com/idea/) 2020.3+ plugin for ANTLR v4 ([plugin source at github](https://github.com/antlr/intellij-plugin-v4)).
3+
An [IntelliJ](https://www.jetbrains.com/idea/) 2022.3+ plugin for ANTLR v4 ([plugin source at github](https://github.com/antlr/intellij-plugin-v4)).
44

55
[Plugin page at JetBrains Marketplace](http://plugins.jetbrains.com/plugin/7358?pr=idea)
66

gradle.properties

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@ pluginVersion=1.23
66
# https://www.jetbrains.com/idea/download/other.html
77

88
# Oldest version currently supported
9-
#ideaVersion=IC-2020.3 # requires jdk 11 from here on
10-
11-
#ideaVersion=IC-2021.2
12-
13-
#ideaVersion=IC-2021.3.3
14-
15-
#ideaVersion=IC-2022.1
16-
17-
#ideaVersion=IC-2022.2
18-
19-
ideaVersion=IC-2022.2.1
20-
21-
#ideaVersion=IC-2022.3 # requires jdk 17 from here on
9+
ideaVersion=IC-2022.3
2210

2311
#ideaVersion=IC-2023.1
2412

src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<description><![CDATA[
88
<p>
99
This plugin is for ANTLR v4 grammars and includes ANTLR 4.13.1. It works with
10-
2020.3 and above. It should work in other JetBrains IDEs.
10+
2022.3 and above. It should work in other JetBrains IDEs.
1111
</p>
1212
1313
<ul>
@@ -82,7 +82,7 @@ For really big files and slow grammars, there is an appreciable delay when displ
8282

8383
<!-- please see https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html for description -->
8484
<!-- can be overriden by the Gradle build if needed -->
85-
<idea-version since-build="203"/> <!-- requires IntelliJ 2020.3+ due to java 11 issue really -->
85+
<idea-version since-build="223"/>
8686

8787
<!-- please see http://confluence.jetbrains.net/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
8888
on how to target different products -->

0 commit comments

Comments
 (0)