Skip to content

Commit 2c03111

Browse files
committed
Update GradleIntegrationHarness' JVM compatibility matrix.
1 parent a719690 commit 2c03111

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/GradleIntegrationHarness.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 DiffPlug
2+
* Copyright 2016-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -53,9 +53,12 @@ public enum GradleVersionSupport {
5353
GradleVersionSupport(String version) {
5454
String minVersionForRunningJRE;
5555
switch (Jvm.version()) {
56+
case 21:
5657
case 20:
57-
case 19:
5858
// TODO: https://docs.gradle.org/current/userguide/compatibility.html
59+
case 19:
60+
minVersionForRunningJRE = "7.6";
61+
break;
5962
case 18:
6063
minVersionForRunningJRE = "7.5";
6164
break;

0 commit comments

Comments
 (0)