Skip to content

Commit eb5af63

Browse files
committed
build: use Java 25 to build
1 parent 0c142d9 commit eb5af63

File tree

13 files changed

+27
-30
lines changed

13 files changed

+27
-30
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/gradlew text eol=lf
2-
*.bat text eol=crlf
3-
1+
/gradlew text eol=lf
2+
*.bat text eol=crlf
3+
*.jar binary

.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@v5
2222
with:
2323
distribution: 'temurin'
24-
java-version: '24'
24+
java-version: '25'
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@v5
3838
with:
3939
distribution: 'temurin'
40-
java-version: '24'
40+
java-version: '25'
4141

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

.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@v5
2121
with:
2222
distribution: 'temurin'
23-
java-version: '24'
23+
java-version: '25'
2424
- name: Generate and submit dependency graph
2525
uses: gradle/actions/dependency-submission@v4

.github/workflows/release.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@v5
2222
with:
2323
distribution: 'temurin'
24-
java-version: '24'
24+
java-version: '25'
2525
- name: Setup Gradle
2626
uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1
2727
- name: Run JReleaser

buildSrc/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ plugins {
22
`kotlin-dsl`
33
}
44

5+
kotlin {
6+
// Kotlin does not yet support 25 JDK target
7+
jvmToolchain(24)
8+
}
9+
510
repositories {
611
gradlePluginPortal()
712
}

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,13 @@ repositories {
99
mavenCentral()
1010
}
1111

12-
spotbugs {
13-
// Plugin struggles with Java 24 otherwise: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
14-
toolVersion = "4.9.3"
15-
}
16-
1712
tasks.withType<com.github.spotbugs.snom.SpotBugsTask>().configureEach {
1813
excludeFilter = file("${project.rootDir}/config/spotbugs/config.xml")
1914
reports.maybeCreate("xml").required = false
2015
reports.maybeCreate("html").required = true
2116
}
2217

2318
pmd {
24-
// Version bundled with Gradle is not able to run on Java 24.
25-
toolVersion = "7.14.0"
2619
isConsoleOutput = true
2720
ruleSets = emptyList()
2821
ruleSetFiles = files("${project.rootDir}/config/pmd/config.xml")

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 24 on your path
21+
- Have Java 25 on your path
2222

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

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version = "5.13.1"
33
assertj-core = { module = "org.assertj:assertj-core", version = "3.27.3" }
44
fastdoubleparser = { module = "ch.randelshofer:fastdoubleparser", version = "2.0.1" }
55
gummy-bears = { module = "com.toasttab.android:gummy-bears-api-34", version = "0.12.0" }
6-
spotbugs = { module = "com.github.spotbugs.snom:spotbugs-gradle-plugin", version = "6.2.0" }
6+
spotbugs = { module = "com.github.spotbugs.snom:spotbugs-gradle-plugin", version = "6.4.2" }
77
jackson-dataformat-yaml = { module = "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml", version = "2.19.1" }
88
errorprone = { module = "com.google.errorprone:error_prone_core", version = "2.38.0" }
99
nullaway = { module = "com.uber.nullaway:nullaway", version = "0.12.7" }
@@ -14,4 +14,4 @@ pitest = { id = "info.solidsoft.pitest", version = "1.19.0-rc.1" }
1414
animalsniffer = { id = "ru.vyarus.animalsniffer", version = "2.0.1" }
1515
bnd = { id = "biz.aQute.bnd.builder", version = "7.1.0" }
1616
jreleaser = { id = "org.jreleaser", version = "1.18.0" }
17-
errorprone = { id = "net.ltgt.errorprone", version = "4.2.0" }
17+
errorprone = { id = "net.ltgt.errorprone", version = "4.3.0" }

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)