diff --git a/packages/flutter_tools/templates/module/android/host_app_ephemeral/settings.gradle.copy.tmpl b/packages/flutter_tools/templates/module/android/host_app_ephemeral/settings.gradle.tmpl similarity index 83% rename from packages/flutter_tools/templates/module/android/host_app_ephemeral/settings.gradle.copy.tmpl rename to packages/flutter_tools/templates/module/android/host_app_ephemeral/settings.gradle.tmpl index 4498ec041eb74..0516b65aae796 100644 --- a/packages/flutter_tools/templates/module/android/host_app_ephemeral/settings.gradle.copy.tmpl +++ b/packages/flutter_tools/templates/module/android/host_app_ephemeral/settings.gradle.tmpl @@ -20,8 +20,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.library" version "8.7.0" apply false - id "org.jetbrains.kotlin.android" version "1.8.22" apply false + id "com.android.library" version "{{agpVersionForModule}}" apply false + id "org.jetbrains.kotlin.android" version "{{kotlinVersion}}" apply false } include ':app' diff --git a/packages/flutter_tools/templates/template_manifest.json b/packages/flutter_tools/templates/template_manifest.json index 62bd63c3f8ec7..70b73ae56e57a 100644 --- a/packages/flutter_tools/templates/template_manifest.json +++ b/packages/flutter_tools/templates/template_manifest.json @@ -164,7 +164,7 @@ "templates/module/android/host_app_common/app.tmpl/src/main/res/mipmap-hdpi/ic_launcher.png", "templates/module/android/host_app_common/app.tmpl/src/main/res/values/styles.xml", "templates/module/android/host_app_editable/settings.gradle.copy.tmpl", - "templates/module/android/host_app_ephemeral/settings.gradle.copy.tmpl", + "templates/module/android/host_app_ephemeral/settings.gradle.tmpl", "templates/module/android/library/Flutter.tmpl/build.gradle.tmpl", "templates/module/android/library/Flutter.tmpl/flutter.iml.copy.tmpl", "templates/module/android/library/Flutter.tmpl/src/main/AndroidManifest.xml.tmpl",