Skip to content

Commit b068bee

Browse files
committed
Java 25 for CI builds
1 parent 13ad54a commit b068bee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ test {
6969
"--add-opens", "java.base/java.util.concurrent.atomic=ALL-UNNAMED")
7070
}
7171

72-
if ( jdkVersions.test.explicit && jdkVersions.test.launcher.asInt() > JavaVersion.VERSION_21.majorVersion ) {
72+
if ( jdkVersions.test.launcher.asInt() > 21 ) {
73+
project.logger.lifecycle( "Skipping {} tests for JDK version {}", project.name, jdkVersions.test.launcher.asInt() )
7374
tasks.getByName( "test" ).enabled = false
7475
}
7576

0 commit comments

Comments
 (0)