diff --git a/dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle b/dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle index 75f07cb601..166d06bf6a 100644 --- a/dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle +++ b/dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle @@ -6,7 +6,7 @@ apply plugin: 'com.android.application' android { namespace = "io.flutter.addtoapp" - compileSdk 34 + compileSdk 35 // Flutter's CI installs the NDK at a non-standard path. // This non-standard structure is initially created by @@ -25,7 +25,7 @@ android { defaultConfig { applicationId "io.flutter.addtoapp" minSdkVersion 21 - targetSdkVersion 34 + targetSdkVersion 35 versionCode 1 versionName "1.0" } @@ -36,15 +36,15 @@ android { // This is required because the `:flutter` project doesn't define this custom build type. // Without the fallback, the Android plugin will make Gradle exit with the following error: // `Unable to find a matching variant of project :flutter` - matchingFallbacks = ['debug'] + matchingFallbacks += 'debug' } prod { initWith release - matchingFallbacks = ['release'] + matchingFallbacks += 'release' } } // Test flavors. - flavorDimensions "version" + flavorDimensions += "version" productFlavors { demo { dimension "version" diff --git a/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle b/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle index a7bc01eee4..d32a3eaf27 100644 --- a/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle +++ b/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle @@ -8,7 +8,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.1.0' + classpath 'com.android.tools.build:gradle:8.8.1' } } diff --git a/dev/integration_tests/module_host_with_custom_build_v2_embedding/gradle/wrapper/gradle-wrapper.properties b/dev/integration_tests/module_host_with_custom_build_v2_embedding/gradle/wrapper/gradle-wrapper.properties index 5e6b542711..e18bc253b8 100644 --- a/dev/integration_tests/module_host_with_custom_build_v2_embedding/gradle/wrapper/gradle-wrapper.properties +++ b/dev/integration_tests/module_host_with_custom_build_v2_embedding/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip