Skip to content

Commit 9803151

Browse files
adminpbe-axelor
admin
authored andcommitted
Add JDK-11 check for gradle build
1 parent 09d0442 commit 9803151

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

settings.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ include "axelor-gradle"
55
include "axelor-test"
66
include "axelor-core"
77
include "axelor-web"
8+
9+
if (JavaVersion.current() != JavaVersion.VERSION_11) {
10+
throw new GradleException("This build requires JDK-11.")
11+
}

0 commit comments

Comments
 (0)