Update min supported gradle version to 6.1

This PR also updates the min agp version we test with because older agp
versions are using gradle apis which doesn't exist in gradle 6.0+.

GH PR: #4155
This commit is contained in:
Bingran
2021-02-17 10:20:43 +00:00
committed by TeamCityServer
parent 9bdfbc948c
commit 03df752e8e
15 changed files with 21 additions and 91 deletions
@@ -49,7 +49,7 @@ import static org.junit.Assume.assumeThat;
@RunWith(value = Parameterized.class)
public abstract class AbstractModelBuilderTest {
public static final Object[][] SUPPORTED_GRADLE_VERSIONS = {{"4.9"}, {"5.6.4"}, {"6.5.1"}};
public static final Object[][] SUPPORTED_GRADLE_VERSIONS = {{"4.9"}, {"5.6.4"}, {"6.1"}, {"6.5.1"}};
private static final Pattern TEST_METHOD_NAME_PATTERN = Pattern.compile("(.*)\\[(\\d*: with Gradle-.*)\\]");
@@ -16,8 +16,8 @@ import org.junit.runners.Parameterized
import java.io.File
import java.util.*
const val mppImportTestMinVersionForMaster = "6.0+"
const val legacyMppImportTestMinVersionForMaster = "5.3+"
const val mppImportTestMinVersionForMaster = "6.1+"
const val legacyMppImportTestMinVersionForMaster = "6.1+"
abstract class MultiplePluginVersionGradleImportingTestCase : GradleImportingTestCase() {
@Rule