Skip to content

Commit bb63f66

Browse files
committed
Switch from JDK 21 to JDK 17 across project config
Updated workflows, build configuration, and documentation to target JDK 17 instead of JDK 21. This ensures compatibility with environments and tools requiring JDK 17 while maintaining a consistent development setup.
1 parent 456d8b4 commit bb63f66

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/asset.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: Set up JDK 21
14+
- name: Set up JDK 17
1515
uses: actions/setup-java@v3
1616
with:
17-
java-version: 21
17+
java-version: 17
1818
distribution: 'temurin'
1919
cache: gradle
2020
- name: Gradle wrapper

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ jobs:
6363

6464
steps:
6565
- uses: actions/checkout@v3
66-
- name: Set up JDK 21
66+
- name: Set up JDK 17
6767
uses: actions/setup-java@v3
6868
with:
69-
java-version: 21
69+
java-version: 17
7070
distribution: 'temurin'
7171
cache: gradle
7272
- uses: actions/cache@v3

.github/workflows/gradlepublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: Set up JDK 21
16+
- name: Set up JDK 17
1717
uses: actions/setup-java@v3
1818
with:
19-
java-version: 21
19+
java-version: 17
2020
distribution: 'temurin'
2121
cache: gradle
2222
- name: Gradle wrapper

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
## Works with
9292

9393
* PhpStorm >= 2023.1
94-
* JRE >= 21
94+
* JRE >= 17
9595

9696
## Setting up development environment
9797

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ group = providers.gradleProperty("pluginGroup").get()
2323
version = providers.gradleProperty("pluginVersion").get()
2424

2525
kotlin {
26-
jvmToolchain(21)
26+
jvmToolchain(17)
2727
}
2828

2929
repositories {

qodana.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
version: 1.0
55
linter: jetbrains/qodana-jvm-community:2024.2
6-
projectJDK: "21"
6+
projectJDK: "17"
77
profile:
88
name: qodana.recommended
99
exclude:

0 commit comments

Comments
 (0)