Fix Android 3.3 Gradle integration tests running with low Gradle version

This commit is contained in:
Sergey Igushkin
2019-05-27 18:12:17 +03:00
parent 9f62920556
commit a4069c031e
@@ -27,7 +27,7 @@ open class KotlinAndroid32GradleIT : KotlinAndroid3GradleIT() {
get() = GradleVersionRequired.AtLeast("4.6") get() = GradleVersionRequired.AtLeast("4.6")
@Test @Test
fun testAndroidWithNewMppApp() = with(Project("new-mpp-android", GradleVersionRequired.AtLeast("4.7"))) { fun testAndroidWithNewMppApp() = with(Project("new-mpp-android", GradleVersionRequired.AtLeast("5.0"))) {
build("assemble", "compileDebugUnitTestJavaWithJavac", "printCompilerPluginOptions") { build("assemble", "compileDebugUnitTestJavaWithJavac", "printCompilerPluginOptions") {
assertSuccessful() assertSuccessful()
@@ -212,7 +212,7 @@ open class KotlinAndroid32GradleIT : KotlinAndroid3GradleIT() {
} }
@Test @Test
fun testCustomAttributesInAndroidTargets() = with(Project("new-mpp-android", GradleVersionRequired.AtLeast("4.7"))) { fun testCustomAttributesInAndroidTargets() = with(Project("new-mpp-android", GradleVersionRequired.AtLeast("5.0"))) {
// Test the fix for KT-27714 // Test the fix for KT-27714
setupWorkingDir() setupWorkingDir()