Skip to content

Commit

Permalink
Revert "Fix wrong toolchain configuration for java17 tests"
Browse files Browse the repository at this point in the history
This reverts commit 456e439.
  • Loading branch information
beikov committed Sep 2, 2022
1 parent 12a30b5 commit e85bd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hibernate-core/hibernate-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ tasks.withType( Test.class ).each { test ->
}

// Tests with records
if ( gradle.ext.javaVersions.test.release.asInt() >= 17 && gradle.ext.javaToolchainEnabled ) {
if ( gradle.ext.javaVersions.test.release.asInt() >= 17 ) {

// Add a new source set, which contains tests that can run on JDK17+
sourceSets {
Expand Down

0 comments on commit e85bd73

Please sign in to comment.