Skip to content

Commit 0dde342

Browse files
CI: build on JDK 25; update Gradle to 9.4.1 (#12)
Gradle 9 is required for JDK 25 and now needs the JUnit Platform launcher declared explicitly. The CI matrix moves to 17/21/25 (Gradle 9 requires JDK 17+ to run; the library still targets Java 11). Adds a .gitignore (the repo had none).
1 parent 940b23a commit 0dde342

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
jdk: [11, 17, 21]
9+
jdk: [17, 21, 25]
1010

1111
runs-on: ubuntu-latest
1212

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.gradle/
2+
build/
3+
.idea/
4+
.tmp/
5+
*.hprof
6+
heapdump_jmemb_*.hprof

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dependencies {
4242
testImplementation "org.junit.jupiter:junit-jupiter-api:$JUNIT_VERSION"
4343
testImplementation "org.junit.jupiter:junit-jupiter-params:$JUNIT_VERSION"
4444
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$JUNIT_VERSION"
45+
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.11.3" // required explicitly since Gradle 9
4546
testRuntimeOnly "ch.qos.logback:logback-classic:$LOGBACK_VERSION"
4647
}
4748

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-8.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)