File tree Expand file tree Collapse file tree 6 files changed +13
-14
lines changed Expand file tree Collapse file tree 6 files changed +13
-14
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1- import org.gradle.internal.impldep.org.testng.reporters.XMLUtils
21import org.jetbrains.changelog.Changelog
32import org.jetbrains.intellij.platform.gradle.TestFrameworkType
43import org.jetbrains.intellij.platform.gradle.extensions.intellijPlatform
@@ -35,8 +34,7 @@ repositories {
3534}
3635
3736java {
38- sourceCompatibility = JavaVersion .VERSION_17
39- targetCompatibility = JavaVersion .VERSION_17
37+ sourceCompatibility = JavaVersion .VERSION_21
4038}
4139
4240sourceSets {
@@ -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" )
You can’t perform that action at this time.
0 commit comments