Skip to content

Commit 9556c28

Browse files
committed
Chore: Update Java build version
1 parent 39e7889 commit 9556c28

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

.github/workflows/CIBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
# and modify them (or add more) to build your code if your project
5757
# uses a compiled language
5858

59-
- name: Set up JDK 17
59+
- name: Set up JDK 21
6060
uses: actions/setup-java@v2
6161
with:
62-
java-version: '17'
62+
java-version: '21'
6363
distribution: 'adopt'
6464
- name: Grant execute permission for gradlew
6565
run: chmod +x gradlew

.github/workflows/CoverallsReport.yml

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

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up JDK 17
17+
- name: Set up JDK 21
1818
uses: actions/setup-java@v2
1919
with:
20-
java-version: '17'
20+
java-version: '21'
2121
distribution: 'adopt'
2222
- name: Grant execute permission for gradlew
2323
run: chmod +x gradlew

.github/workflows/CronEAP.yml

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

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up JDK 17
17+
- name: Set up JDK 21
1818
uses: actions/setup-java@v2
1919
with:
20-
java-version: '17'
20+
java-version: '21'
2121
distribution: 'adopt'
2222
- name: Grant execute permission for gradlew
2323
run: chmod +x gradlew

.github/workflows/PublishStable.yml

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

2121
steps:
2222
- uses: actions/checkout@v2
23-
- name: Set up JDK 17
23+
- name: Set up JDK 21
2424
uses: actions/setup-java@v2
2525
with:
26-
java-version: '17'
26+
java-version: '21'
2727
distribution: 'adopt'
2828
- name: Grant execute permission for gradlew
2929
run: chmod +x gradlew

.github/workflows/PullRequest.yml

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

2424
steps:
2525
- uses: actions/checkout@v2
26-
- name: Set up JDK 17
26+
- name: Set up JDK 21
2727
uses: actions/setup-java@v2
2828
with:
29-
java-version: '17'
29+
java-version: '21'
3030
distribution: 'adopt'
3131
- name: Grant execute permission for gradlew
3232
run: chmod +x gradlew

build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import org.gradle.internal.impldep.org.testng.reporters.XMLUtils
21
import org.jetbrains.changelog.Changelog
32
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
43
import org.jetbrains.intellij.platform.gradle.extensions.intellijPlatform
@@ -35,8 +34,7 @@ repositories {
3534
}
3635

3736
java {
38-
sourceCompatibility = JavaVersion.VERSION_17
39-
targetCompatibility = JavaVersion.VERSION_17
37+
sourceCompatibility = JavaVersion.VERSION_21
4038
}
4139

4240
sourceSets {
@@ -74,8 +72,9 @@ dependencies {
7472
zipSigner()
7573

7674
jetbrainsRuntime()
75+
javaCompiler("21")
76+
7777
testFramework(TestFrameworkType.Platform)
78-
testFramework(TestFrameworkType.JUnit5)
7978
}
8079

8180
testImplementation("org.mockito:mockito-core:5.14.1")

0 commit comments

Comments
 (0)