[gradle] attempt to fix flaky Gradle tests failure.

Flakiness only affects Gradle 7.0 and has a specific error message: "supplied javaHome must be a valide directory". Related Gradle issue https://github.com/gradle/gradle/issues/16816 is reported to be fixed in Gradle 7.0.1+

GitOrigin-RevId: b827eb55f974b14f3563610ac7b29995d8579a34
This commit is contained in:
Nikita Skvortsov
2022-02-16 15:53:04 +03:00
committed by intellij-monorepo-bot
parent 762872f885
commit 0d8984d6eb

View File

@@ -39,7 +39,7 @@ public class VersionMatcherRule extends TestWatcher {
{"4.0"}, /*{"4.1"}, {"4.2"}, {"4.3"}, {"4.4"}, {"4.5.1"}, {"4.6"}, {"4.7"}, {"4.8"}, {"4.9"},*/ {"4.10.3"},
{"5.0"}, /*{"5.1"}, {"5.2"}, {"5.3.1"}, {"5.4.1"}, {"5.5.1"},*/ {"5.6.2"},
{"6.0"}, /* {"6.0.1"}, {"6.1"}, {"6.2"}, {"6.3"}, {"6.4"}, {"6.8.3"}, */ {"6.9"},
{"7.0"}, /* {"7.1"}, {"7.2"}, */ {"7.4"}
{"7.0.2"}, /* {"7.1"}, {"7.2"}, */ {"7.4"}
};
public static final String BASE_GRADLE_VERSION = String.valueOf(SUPPORTED_GRADLE_VERSIONS[SUPPORTED_GRADLE_VERSIONS.length - 1][0]);