Skip to content

Commit

Permalink
Update Gradle verion in tests from 6.1 to 6.1.1
Browse files Browse the repository at this point in the history
Gradle 6.1 is not suitable for testing because of memory leak on
artefact validation (gradle/gradle#11966)
  • Loading branch information
ausatiy committed Mar 15, 2021
1 parent 054c278 commit 9c00000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -49,7 +49,7 @@
@RunWith(value = Parameterized.class)
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-.*)\\]");

Expand Down
Expand Up @@ -22,9 +22,9 @@ import org.junit.Assume

sealed class GradleVersionRequired(val minVersion: String, val maxVersion: String?) {
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)
Expand Down

0 comments on commit 9c00000

Please sign in to comment.