Skip to content

Commit a83a0b2

Browse files
authored
CURATOR-691. Compatible with JDK 21 (#484)
Signed-off-by: tison <wander4096@gmail.com>
1 parent 2a94b2d commit a83a0b2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
- name: Set up JDK
4545
uses: actions/setup-java@v3
4646
with:
47-
java-version: 17
48-
distribution: 'temurin'
47+
java-version: 21
48+
distribution: 'zulu'
4949
- name: Check code style
5050
run: ./mvnw spotless:check
5151

@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
fail-fast: false
5858
matrix:
59-
java: [8, 11, 17]
59+
java: [8, 11, 17, 21]
6060
env:
6161
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
6262
steps:
@@ -74,7 +74,7 @@ jobs:
7474
uses: actions/setup-java@v3
7575
with:
7676
java-version: ${{ matrix.java }}
77-
distribution: 'temurin'
77+
distribution: 'zulu'
7878

7979
- name: Build with ${{ matrix.java }}
8080
run: ./mvnw clean install -DskipTests

.mvn/extensions.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
<extension>
2525
<groupId>com.gradle</groupId>
2626
<artifactId>gradle-enterprise-maven-extension</artifactId>
27-
<version>1.17</version>
27+
<version>1.19.1</version>
2828
</extension>
2929
<extension>
3030
<groupId>com.gradle</groupId>
3131
<artifactId>common-custom-user-data-maven-extension</artifactId>
32-
<version>1.11.1</version>
32+
<version>1.12.4</version>
3333
</extension>
3434
</extensions>

.mvn/wrapper/maven-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip
1818
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<maven-project-info-reports-plugin-version>3.0.0</maven-project-info-reports-plugin-version>
8080
<maven-javadoc-plugin-version>3.3.2</maven-javadoc-plugin-version>
8181
<maven-surefire-plugin-version>3.0.0-M5</maven-surefire-plugin-version>
82-
<spotless.version>2.36.0</spotless.version>
82+
<spotless.version>2.39.0</spotless.version>
8383
<doxia-module-confluence-version>1.11.1</doxia-module-confluence-version>
8484
<javassist-version>3.24.1-GA</javassist-version>
8585
<commons-math-version>2.2</commons-math-version>
@@ -936,7 +936,7 @@
936936
<configuration>
937937
<java>
938938
<palantirJavaFormat>
939-
<version>2.30.0</version>
939+
<version>2.38.0</version>
940940
</palantirJavaFormat>
941941
<!-- static imports first, then others, no blank lines -->
942942
<importOrder>

0 commit comments

Comments
 (0)