forked from firka/flutter
Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642)
Upgrades tests under `dev/integration_tests` to use the latest values [in the templates](944d6c8fef/dev/tools/bin/generate_gradle_lockfiles.dart (L135)). Most of this PR was auto-generated, by running `find dev/integration_tests/ -type d -name 'android' | dart dev/tools/bin/generate_gradle_lockfiles.dart` from the root of the flutter directory. The pieces that were not are: 1. Upgrading the Gradle versions used in integration tests to be >=7.4, in places where it was currently lower. 2. Upgrading the mac, windows, and linux build_tests .ci.yaml configuration to use jdk 17 on all shards. It currently was using a mix of 17 and 11. This isn't desirable, because some of the tests require 17, and the distribution is [random across shards](cef9a8c54b/dev/bots/test.dart (L553)) (so they were only passing because they were getting randomly placed on shards using jdk 17). 3. Adding a dependency on jdk 11 for the tests based on the `firebaselab/firebaselab` recipe. Previously they had no java dependency, and were therefore defaulting to java 1.8. The newer AGP versions necessitated an upgrade to 11 to run. Note that it also ended up downgrading the AGP version in two places (in the [hybrid_android_views](https://github.com/flutter/flutter/pull/129642/files#diff-d7cfaa1c96d5c2383e7fc253ac8c9df062b544c24f7d80aa8a02290c01d17205L17) and [platform_interaction](https://github.com/flutter/flutter/pull/129642/files#diff-b2fba811efadd1cfb097bebd93be99fe4b6d6f17aefa863267290fc704290766L17) tests), because those had been manually edited to a newer version than the template. Related to: https://github.com/flutter/flutter/issues/123636, https://github.com/flutter/flutter/pull/123910
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
// See dev/tools/bin/generate_gradle_lockfiles.dart.
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.6.21'
|
||||
ext.kotlin_version = '1.7.10'
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.4.2'
|
||||
classpath 'com.android.tools.build:gradle:7.3.0'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
|
||||
|
||||
@@ -1,46 +1,45 @@
|
||||
# This is a Gradle generated file for dependency locking.
|
||||
# Manual edits can break the build and are not advised.
|
||||
# This file is expected to be part of source control.
|
||||
androidx.databinding:databinding-common:7.4.2=classpath
|
||||
androidx.databinding:databinding-compiler-common:7.4.2=classpath
|
||||
com.android.databinding:baseLibrary:7.4.2=classpath
|
||||
com.android.tools.analytics-library:crash:30.4.2=classpath
|
||||
com.android.tools.analytics-library:protos:30.4.2=classpath
|
||||
com.android.tools.analytics-library:shared:30.4.2=classpath
|
||||
com.android.tools.analytics-library:tracker:30.4.2=classpath
|
||||
androidx.databinding:databinding-common:7.3.0=classpath
|
||||
androidx.databinding:databinding-compiler-common:7.3.0=classpath
|
||||
com.android.databinding:baseLibrary:7.3.0=classpath
|
||||
com.android.tools.analytics-library:crash:30.3.0=classpath
|
||||
com.android.tools.analytics-library:protos:30.3.0=classpath
|
||||
com.android.tools.analytics-library:shared:30.3.0=classpath
|
||||
com.android.tools.analytics-library:tracker:30.3.0=classpath
|
||||
com.android.tools.build.jetifier:jetifier-core:1.0.0-beta10=classpath
|
||||
com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta10=classpath
|
||||
com.android.tools.build:aapt2-proto:7.4.2-8841542=classpath
|
||||
com.android.tools.build:aaptcompiler:7.4.2=classpath
|
||||
com.android.tools.build:apksig:7.4.2=classpath
|
||||
com.android.tools.build:apkzlib:7.4.2=classpath
|
||||
com.android.tools.build:builder-model:7.4.2=classpath
|
||||
com.android.tools.build:builder-test-api:7.4.2=classpath
|
||||
com.android.tools.build:builder:7.4.2=classpath
|
||||
com.android.tools.build:bundletool:1.11.4=classpath
|
||||
com.android.tools.build:gradle-api:7.4.2=classpath
|
||||
com.android.tools.build:gradle-settings-api:7.4.2=classpath
|
||||
com.android.tools.build:gradle:7.4.2=classpath
|
||||
com.android.tools.build:manifest-merger:30.4.2=classpath
|
||||
com.android.tools.build:aapt2-proto:7.3.0-8691043=classpath
|
||||
com.android.tools.build:aaptcompiler:7.3.0=classpath
|
||||
com.android.tools.build:apksig:7.3.0=classpath
|
||||
com.android.tools.build:apkzlib:7.3.0=classpath
|
||||
com.android.tools.build:builder-model:7.3.0=classpath
|
||||
com.android.tools.build:builder-test-api:7.3.0=classpath
|
||||
com.android.tools.build:builder:7.3.0=classpath
|
||||
com.android.tools.build:bundletool:1.9.0=classpath
|
||||
com.android.tools.build:gradle-api:7.3.0=classpath
|
||||
com.android.tools.build:gradle:7.3.0=classpath
|
||||
com.android.tools.build:manifest-merger:30.3.0=classpath
|
||||
com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api=classpath
|
||||
com.android.tools.ddms:ddmlib:30.4.2=classpath
|
||||
com.android.tools.layoutlib:layoutlib-api:30.4.2=classpath
|
||||
com.android.tools.lint:lint-model:30.4.2=classpath
|
||||
com.android.tools.lint:lint-typedef-remover:30.4.2=classpath
|
||||
com.android.tools.utp:android-device-provider-ddmlib-proto:30.4.2=classpath
|
||||
com.android.tools.utp:android-device-provider-gradle-proto:30.4.2=classpath
|
||||
com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.4.2=classpath
|
||||
com.android.tools.utp:android-test-plugin-host-coverage-proto:30.4.2=classpath
|
||||
com.android.tools.utp:android-test-plugin-host-retention-proto:30.4.2=classpath
|
||||
com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.4.2=classpath
|
||||
com.android.tools:annotations:30.4.2=classpath
|
||||
com.android.tools:common:30.4.2=classpath
|
||||
com.android.tools:dvlib:30.4.2=classpath
|
||||
com.android.tools:repository:30.4.2=classpath
|
||||
com.android.tools:sdk-common:30.4.2=classpath
|
||||
com.android.tools:sdklib:30.4.2=classpath
|
||||
com.android:signflinger:7.4.2=classpath
|
||||
com.android:zipflinger:7.4.2=classpath
|
||||
com.android.tools.ddms:ddmlib:30.3.0=classpath
|
||||
com.android.tools.layoutlib:layoutlib-api:30.3.0=classpath
|
||||
com.android.tools.lint:lint-model:30.3.0=classpath
|
||||
com.android.tools.lint:lint-typedef-remover:30.3.0=classpath
|
||||
com.android.tools.utp:android-device-provider-ddmlib-proto:30.3.0=classpath
|
||||
com.android.tools.utp:android-device-provider-gradle-proto:30.3.0=classpath
|
||||
com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.3.0=classpath
|
||||
com.android.tools.utp:android-test-plugin-host-coverage-proto:30.3.0=classpath
|
||||
com.android.tools.utp:android-test-plugin-host-retention-proto:30.3.0=classpath
|
||||
com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.3.0=classpath
|
||||
com.android.tools:annotations:30.3.0=classpath
|
||||
com.android.tools:common:30.3.0=classpath
|
||||
com.android.tools:dvlib:30.3.0=classpath
|
||||
com.android.tools:repository:30.3.0=classpath
|
||||
com.android.tools:sdk-common:30.3.0=classpath
|
||||
com.android.tools:sdklib:30.3.0=classpath
|
||||
com.android:signflinger:7.3.0=classpath
|
||||
com.android:zipflinger:7.3.0=classpath
|
||||
com.github.gundy:semver4j:0.16.4=classpath
|
||||
com.google.android:annotations:4.1.1.4=classpath
|
||||
com.google.api.grpc:proto-google-common-protos:2.0.1=classpath
|
||||
@@ -58,7 +57,8 @@ com.google.j2objc:j2objc-annotations:1.3=classpath
|
||||
com.google.jimfs:jimfs:1.1=classpath
|
||||
com.google.protobuf:protobuf-java-util:3.17.2=classpath
|
||||
com.google.protobuf:protobuf-java:3.17.2=classpath
|
||||
com.google.testing.platform:core-proto:0.0.8-alpha08=classpath
|
||||
com.google.testing.platform:core-proto:0.0.8-alpha07=classpath
|
||||
com.googlecode.json-simple:json-simple:1.1=classpath
|
||||
com.googlecode.juniversalchardet:juniversalchardet:1.0.3=classpath
|
||||
com.squareup:javapoet:1.10.0=classpath
|
||||
com.squareup:javawriter:2.5.0=classpath
|
||||
@@ -87,6 +87,7 @@ io.netty:netty-handler:4.1.52.Final=classpath
|
||||
io.netty:netty-resolver:4.1.52.Final=classpath
|
||||
io.netty:netty-transport:4.1.52.Final=classpath
|
||||
io.perfmark:perfmark-api:0.23.0=classpath
|
||||
it.unimi.dsi:fastutil:8.4.0=classpath
|
||||
jakarta.activation:jakarta.activation-api:1.2.1=classpath
|
||||
jakarta.xml.bind:jakarta.xml.bind-api:2.3.2=classpath
|
||||
javax.annotation:javax.annotation-api:1.3.2=classpath
|
||||
@@ -108,40 +109,42 @@ org.glassfish.jaxb:jaxb-runtime:2.3.2=classpath
|
||||
org.glassfish.jaxb:txw2:2.3.2=classpath
|
||||
org.jdom:jdom2:2.0.6=classpath
|
||||
org.jetbrains.intellij.deps:trove4j:1.0.20200330=classpath
|
||||
org.jetbrains.kotlin:kotlin-android-extensions:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-build-common:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-compiler-runner:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-daemon-client:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-native-utils:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-project-model:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-reflect:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-common:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-jvm:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-tooling-metadata:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-util-io:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-util-klib:1.6.21=classpath
|
||||
org.jetbrains.kotlin:kotlin-android-extensions:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-build-common:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-compiler-runner:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-daemon-client:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-daemon-embeddable:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-gradle-plugin-idea:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-native-utils:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-project-model:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-reflect:1.5.31=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-common:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-scripting-jvm:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31=classpath
|
||||
org.jetbrains.kotlin:kotlin-stdlib:1.5.31=classpath
|
||||
org.jetbrains.kotlin:kotlin-tooling-core:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-tooling-metadata:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-util-io:1.7.10=classpath
|
||||
org.jetbrains.kotlin:kotlin-util-klib:1.7.10=classpath
|
||||
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0=classpath
|
||||
org.jetbrains:annotations:13.0=classpath
|
||||
org.json:json:20180813=classpath
|
||||
org.jvnet.staxex:stax-ex:1.8.1=classpath
|
||||
org.ow2.asm:asm-analysis:9.2=classpath
|
||||
org.ow2.asm:asm-commons:9.2=classpath
|
||||
org.ow2.asm:asm-tree:9.2=classpath
|
||||
org.ow2.asm:asm-util:9.2=classpath
|
||||
org.ow2.asm:asm:9.2=classpath
|
||||
org.ow2.asm:asm-analysis:9.1=classpath
|
||||
org.ow2.asm:asm-commons:9.1=classpath
|
||||
org.ow2.asm:asm-tree:9.1=classpath
|
||||
org.ow2.asm:asm-util:9.1=classpath
|
||||
org.ow2.asm:asm:9.1=classpath
|
||||
org.slf4j:slf4j-api:1.7.30=classpath
|
||||
org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2=classpath
|
||||
xerces:xercesImpl:2.12.0=classpath
|
||||
|
||||
@@ -87,10 +87,10 @@ org.codehaus.groovy:groovy-all:2.4.15=lintClassPath
|
||||
org.codehaus.mojo:animal-sniffer-annotations:1.18=lintClassPath
|
||||
org.glassfish.jaxb:jaxb-runtime:2.3.1=lintClassPath
|
||||
org.glassfish.jaxb:txw2:2.3.1=lintClassPath
|
||||
org.jacoco:org.jacoco.agent:0.8.8=androidJacocoAnt
|
||||
org.jacoco:org.jacoco.ant:0.8.8=androidJacocoAnt
|
||||
org.jacoco:org.jacoco.core:0.8.8=androidJacocoAnt
|
||||
org.jacoco:org.jacoco.report:0.8.8=androidJacocoAnt
|
||||
org.jacoco:org.jacoco.agent:0.8.7=androidJacocoAnt
|
||||
org.jacoco:org.jacoco.ant:0.8.7=androidJacocoAnt
|
||||
org.jacoco:org.jacoco.core:0.8.7=androidJacocoAnt
|
||||
org.jacoco:org.jacoco.report:0.8.7=androidJacocoAnt
|
||||
org.jetbrains.kotlin:kotlin-reflect:1.3.72=lintClassPath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-common:1.3.72=lintClassPath
|
||||
org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
|
||||
@@ -107,12 +107,12 @@ org.jetbrains.trove4j:trove4j:20160824=lintClassPath
|
||||
org.jetbrains:annotations:13.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,lintClassPath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
|
||||
org.jvnet.staxex:stax-ex:1.8=lintClassPath
|
||||
org.ow2.asm:asm-analysis:7.0=lintClassPath
|
||||
org.ow2.asm:asm-analysis:9.2=androidJacocoAnt
|
||||
org.ow2.asm:asm-analysis:9.1=androidJacocoAnt
|
||||
org.ow2.asm:asm-commons:7.0=lintClassPath
|
||||
org.ow2.asm:asm-commons:9.2=androidJacocoAnt
|
||||
org.ow2.asm:asm-commons:9.1=androidJacocoAnt
|
||||
org.ow2.asm:asm-tree:7.0=lintClassPath
|
||||
org.ow2.asm:asm-tree:9.2=androidJacocoAnt
|
||||
org.ow2.asm:asm-tree:9.1=androidJacocoAnt
|
||||
org.ow2.asm:asm-util:7.0=lintClassPath
|
||||
org.ow2.asm:asm:7.0=lintClassPath
|
||||
org.ow2.asm:asm:9.2=androidJacocoAnt
|
||||
org.ow2.asm:asm:9.1=androidJacocoAnt
|
||||
empty=androidApis,androidJdkImage,androidTestUtil,compile,coreLibraryDesugaring,debugAndroidTestAnnotationProcessorClasspath,debugAndroidTestRuntimeClasspath,debugAnnotationProcessorClasspath,debugReverseMetadataValues,debugUnitTestAnnotationProcessorClasspath,debugWearBundling,lintChecks,lintPublish,profileAnnotationProcessorClasspath,profileReverseMetadataValues,profileUnitTestAnnotationProcessorClasspath,profileWearBundling,releaseAnnotationProcessorClasspath,releaseReverseMetadataValues,releaseUnitTestAnnotationProcessorClasspath,releaseWearBundling,testCompile
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
|
||||
include ':app'
|
||||
|
||||
enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT')
|
||||
|
||||
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
|
||||
def properties = new Properties()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user