Update Gradle verion in tests from 6.1 to 6.1.1
Gradle 6.1 is not suitable for testing because of memory leak on artefact validation (https://github.com/gradle/gradle/issues/11966)
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ import static org.junit.Assume.assumeThat;
|
|||||||
@RunWith(value = Parameterized.class)
|
@RunWith(value = Parameterized.class)
|
||||||
public abstract class AbstractModelBuilderTest {
|
public abstract class AbstractModelBuilderTest {
|
||||||
|
|
||||||
public static final Object[][] SUPPORTED_GRADLE_VERSIONS = {{"4.9"}, {"5.6.4"}, {"6.1"}, {"6.5.1"}};
|
public static final Object[][] SUPPORTED_GRADLE_VERSIONS = {{"4.9"}, {"5.6.4"}, {"6.1.1"}, {"6.5.1"}};
|
||||||
|
|
||||||
private static final Pattern TEST_METHOD_NAME_PATTERN = Pattern.compile("(.*)\\[(\\d*: with Gradle-.*)\\]");
|
private static final Pattern TEST_METHOD_NAME_PATTERN = Pattern.compile("(.*)\\[(\\d*: with Gradle-.*)\\]");
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -22,9 +22,9 @@ import org.junit.Assume
|
|||||||
|
|
||||||
sealed class GradleVersionRequired(val minVersion: String, val maxVersion: String?) {
|
sealed class GradleVersionRequired(val minVersion: String, val maxVersion: String?) {
|
||||||
companion object {
|
companion object {
|
||||||
const val OLDEST_SUPPORTED = "6.1"
|
const val OLDEST_SUPPORTED = "6.1.1"
|
||||||
|
|
||||||
val FOR_MPP_SUPPORT = AtLeast("6.1")
|
val FOR_MPP_SUPPORT = AtLeast("6.1.1")
|
||||||
}
|
}
|
||||||
|
|
||||||
class Exact(version: String) : GradleVersionRequired(version, version)
|
class Exact(version: String) : GradleVersionRequired(version, version)
|
||||||
|
|||||||
Reference in New Issue
Block a user