Reland "Update template/test compileSdk, targetSdk, ndk versions" (#153795)

Relands https://github.com/flutter/flutter/pull/152487.

The difference is in the two new commits:
-1354c6d77b
-931788aa5a, short version is that:
- I forgot that I need to override the compileSdkVersion in the AGP 8.0 [instance of this test](ef9cd32f5a/dev/devicelab/bin/tasks/android_java17_dependency_smoke_tests.dart (L19))
- A postsubmit integration test needed new lockfiles + the package attribute -> AGP namespace change.

These were the only two postsubmit failures: [dashboard](https://flutter-dashboard.appspot.com/#/build).
This commit is contained in:
Gray Mackall
2024-08-21 11:27:00 -07:00
committed by GitHub
parent b8f89f70bf
commit 919bed6e0a
55 changed files with 522 additions and 397 deletions

View File

@@ -27,6 +27,7 @@ if (flutterVersionName == null) {
}
android {
namespace = "com.example.tracing_tests"
compileSdk flutter.compileSdkVersion
compileOptions {

View File

@@ -2,8 +2,7 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.tracing_tests">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="tracing_tests"
android:name="${applicationName}"

View File

@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip

View File

@@ -27,8 +27,8 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "com.android.application" version "8.1.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}
include ":app"