We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed9bda commit fd9e0fbCopy full SHA for fd9e0fb
local-build-plugins/src/main/java/org/hibernate/orm/toolchains/JdkVersionConfig.java
@@ -187,7 +187,7 @@ public static JdkVersionConfig createVersionConfig(
187
// We disable toolchains for convenience, so that anyone can just run the build with their own JDK
188
// without any additional options and without downloading the whole JDK.
189
190
- if ( gradleJdkVersion.asInt() > minSupportedJdkVersion.asInt() ) {
+ if ( gradleJdkVersion.asInt() < minSupportedJdkVersion.asInt() ) {
191
throw new GradleException("This build requires at least JDK " + minSupportedJdkVersion + ", but you are using JDK " + gradleJdkVersion.asInt());
192
}
193
0 commit comments