Skip to content

Commit becd43b

Browse files
committed
use Java 24
1 parent d5ea382 commit becd43b

File tree

9 files changed

+33
-10
lines changed

9 files changed

+33
-10
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/setup-java@v4
2222
with:
2323
distribution: 'temurin'
24-
java-version: '23'
24+
java-version: '24'
2525
- uses: gradle/actions/setup-gradle@v4
2626
- name: Build with Gradle
2727
run: ./gradlew build

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/setup-java@v4
3838
with:
3939
distribution: 'temurin'
40-
java-version: '23'
40+
java-version: '24'
4141

4242
- name: Initialize CodeQL
4343
uses: github/codeql-action/init@v3

.github/workflows/compat-17.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Java 17 Compatibility Check (for OSS-Fuzz)
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- '**/*.md'
7+
- 'docs/**'
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Java
17+
uses: actions/setup-java@v4
18+
with:
19+
distribution: 'temurin'
20+
java-version: '17'
21+
- uses: gradle/actions/setup-gradle@v4
22+
- name: Build with Gradle
23+
run: ./gradlew lib:jar

.github/workflows/dependency-submission.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
uses: actions/setup-java@v4
2121
with:
2222
distribution: 'temurin'
23-
java-version: '23'
23+
java-version: '24'
2424
- name: Generate and submit dependency graph
2525
uses: gradle/actions/dependency-submission@v4

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
uses: actions/setup-java@v4
2121
with:
2222
distribution: 'temurin'
23-
java-version: '23'
23+
java-version: '24'
2424
- name: Setup Gradle
25-
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
25+
uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1
2626
- name: Publish package
2727
run: ./gradlew publish
2828
env:

buildSrc/src/main/kotlin/fastcsv.java-conventions.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ tasks.withType<com.github.spotbugs.snom.SpotBugsTask>().configureEach {
1616
}
1717

1818
pmd {
19-
// Version bundled with Gradle is not able to run on Java 23.
20-
toolVersion = "7.10.0"
19+
// Version bundled with Gradle is not able to run on Java 24.
20+
toolVersion = "7.13.0"
2121
isConsoleOutput = true
2222
ruleSets = emptyList()
2323
ruleSetFiles = files("${project.rootDir}/config/pmd/config.xml")

docs/src/content/docs/guides/Examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ title: Overview
55
This section provides a variety of examples to help you get started with FastCSV.
66

77
While FastCSV is compatible with Java 11 and later, the examples in this section use
8-
Java 23 to demonstrate modern Java features and syntax for the sake of brevity.
8+
Java 24 to demonstrate modern Java features and syntax for the sake of brevity.
99

1010
You find all source code examples in the [FastCSV GitHub repository](https://github.com/osiegmar/FastCSV/tree/main/example/src/main/java/example).

docs/src/content/docs/guides/contribution.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This will help to avoid wasted effort and ensure that your contribution is in li
1818
- Understand and respect the [goals of the project](/architecture/goals/)
1919
- Get familiar with the [architecture](/architecture/architecture/)
2020
- Accept the [MIT license](https://opensource.org/license/mit) that will also apply to your contributions
21-
- Have Java 23 on your path
21+
- Have Java 24 on your path
2222

2323
1. Fork the [repository](https://github.com/osiegmar/FastCSV) and clone it to your local machine
2424

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
2+
id("org.gradle.toolchains.foojay-resolver-convention") version "0.10.0"
33
}
44

55
rootProject.name = "FastCSV"

0 commit comments

Comments
 (0)