Skip to content

Commit c2f0e09

Browse files
committed
HBX-3044: Gradle 'generateJava' task should use generics by default
- Change the java version to 11 as that's the minimum version for the 6.6 branch Signed-off-by: Koen Aers <[email protected]>
1 parent 79b6787 commit c2f0e09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/java/NoGenerics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
public class NoGenerics {
2020

2121
private static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
22-
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");
22+
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "11");
2323

2424
@TempDir
2525
private File projectDir;

gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/java/UseGenerics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
public class UseGenerics {
2020

2121
private static final List<String> GRADLE_INIT_PROJECT_ARGUMENTS = List.of(
22-
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "17");
22+
"init", "--type", "java-application", "--dsl", "groovy", "--test-framework", "junit-jupiter", "--java-version", "11");
2323

2424
@TempDir
2525
private File projectDir;

0 commit comments

Comments
 (0)