Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Test on JDK 24
  • Loading branch information
msridhar committed Apr 4, 2025
commit f721a561dd65b27f8fc3f65b61e99ceea7d78d73
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {
}

jacoco {
toolVersion = "0.8.12"
toolVersion = "0.8.13"
}

// Do not generate reports for individual projects
Expand Down Expand Up @@ -65,7 +65,7 @@ test {
}

// Tasks for testing on other JDK versions; see https://jakewharton.com/build-on-latest-java-test-through-lowest-java/
[21, 23].each { majorVersion ->
[21, 24].each { majorVersion ->
def jdkTest = tasks.register("testJdk$majorVersion", Test) {
onlyIf {
// Only run when using the latest Error Prone version
Expand Down
4 changes: 2 additions & 2 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ def test = [
commonsLang3 : "org.apache.commons:commons-lang3:3.8.1",
commonsLang : "commons-lang:commons-lang:2.6",
jsr305Annotations : "com.google.code.findbugs:jsr305:3.0.2",
lombok : "org.projectlombok:lombok:1.18.34",
lombok : "org.projectlombok:lombok:1.18.38",
springBeans : "org.springframework:spring-beans:5.3.7",
springContext : "org.springframework:spring-context:5.3.7",
grpcCore : "io.grpc:grpc-core:1.15.1", // Should upgrade, but this matches our guava version
mockito : "org.mockito:mockito-core:5.13.0",
mockito : "org.mockito:mockito-core:5.16.1",
javaxAnnotationApi : "javax.annotation:javax.annotation-api:1.3.2",
assertJ : "org.assertj:assertj-core:3.23.1",
]
Expand Down
2 changes: 1 addition & 1 deletion jdk-recent-unit-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ plugins {
// We must null out sourceCompatibility and targetCompatibility to use toolchains.
java.sourceCompatibility = null
java.targetCompatibility = null
java.toolchain.languageVersion.set JavaLanguageVersion.of(23)
java.toolchain.languageVersion.set JavaLanguageVersion.of(24)

configurations {
// We use this configuration to expose a module path that can be
Expand Down
Loading