diff --git a/firebase.json b/firebase.json index 0d6931351a..ecfe2ad93b 100644 --- a/firebase.json +++ b/firebase.json @@ -351,6 +351,7 @@ { "source": "/go/flutter-engine-clocks", "destination": "https://docs.google.com/document/d/1Sx8QA1qXgJGw5r4ESviDnU2LSShNHiq_LjbRWPgSvXQ/edit?usp=sharing&resourcekey=0-BoBvLxgqf_nc_rwLc0zmTw", "type": 301 }, { "source": "/go/flutter-engine-extensions", "destination": "https://docs.google.com/document/d/1xG7jR4FserdW7TdwnklF3_lXUGmt4myPQjDGF3LFtCQ/edit?resourcekey=0-Iug4D2mWuyQI6suvC_2itw#", "type": 301 }, { "source": "/go/flutter-for-embedded-linux", "destination": "https://docs.google.com/document/d/1n4NXCk0QlGz16gUCtywR79H0Z1fzPqB2iNL8oxuexuk/edit?usp=sharing", "type": 301 }, + { "source": "/go/flutter-gradle-plugin-apply", "destination": "/release/breaking-changes/flutter-gradle-plugin-apply", "type": 301 }, { "source": "/go/flutter-iap-migrate-pblv2", "destination": "https://docs.google.com/document/d/1XM16UsLE_aPWoZnheE9waO06mhxLkkWjpPf9jtI1AdY/edit", "type": 301 }, { "source": "/go/flutter-ios-system-font", "destination": "https://docs.google.com/document/d/1FG9ONkG-sLuFkb9vUAL2i7oeUtUqm8qiQJe_poK754w/edit", "type": 301 }, { "source": "/go/flutter-lints", "destination": "https://docs.google.com/document/d/1b0X0HOzvFY3WxI363U8BXx6Am13qFm96KlbS72mmFAk/edit", "type": 301 }, diff --git a/src/release/breaking-changes/flutter-gradle-plugin-apply.md b/src/release/breaking-changes/flutter-gradle-plugin-apply.md index c3917fdb19..d4e0b413e1 100644 --- a/src/release/breaking-changes/flutter-gradle-plugin-apply.md +++ b/src/release/breaking-changes/flutter-gradle-plugin-apply.md @@ -33,7 +33,7 @@ buildscripts. ### android/settings.gradle Replace the contents of `/android/settings.gradle` with the below, -remembering to replace `{{agpVersion}}` and `{{kotlinVersion}}` with previously +remembering to replace `{agpVersion}` and `{kotlinVersion}` with previously used values: ```gradle @@ -58,8 +58,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "{{agpVersion}}" apply false - id "org.jetbrains.kotlin.android" version "{{kotlinVersion}}" apply false + id "com.android.application" version "{agpVersion}" apply false + id "org.jetbrains.kotlin.android" version "{kotlinVersion}" apply false } include ":app" @@ -75,7 +75,7 @@ Remove the whole `buildscript` block from `/android/settings.gradle`: ```diff plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "{{agpVersion}}" apply false - id "org.jetbrains.kotlin.android" version "{{kotlinVersion}}" apply false + id "com.android.application" version "{agpVersion}" apply false + id "org.jetbrains.kotlin.android" version "{kotlinVersion}" apply false + id "com.google.gms.google-services" version "4.4.0" apply false + id "com.google.firebase.crashlytics" version "2.9.9" apply false } ``` -and the following lines to `/android/app/build.gradle` (remembering to -replace `{{agpVersion}}` and `{{kotlinVersion}}` with previously used values): +and the following lines to `/android/app/build.gradle`: ```diff plugins { diff --git a/src/release/breaking-changes/index.md b/src/release/breaking-changes/index.md index 37e31b8590..0bf02f0f6a 100644 --- a/src/release/breaking-changes/index.md +++ b/src/release/breaking-changes/index.md @@ -35,12 +35,13 @@ release, and listed in alphabetical order: * [Deprecate `TextField.canRequestFocus`][] * [Accessibility traversal order of tooltip changed][] * [Default multitouch scrolling][] +* [Deprecate imperative apply of Flutter's Gradle plugins][] [Migrate RawKeyEvent/RawKeyboard system to KeyEvent/HardwareKeyboard system]: {{site.url}}/release/breaking-changes/key-event-migration [Deprecate `TextField.canRequestFocus`]: {{site.url}}/release/breaking-changes/can-request-focus [Accessibility traversal order of tooltip changed]: {{site.url}}/release/breaking-changes/tooltip-semantics-order [Default multitouch scrolling]: {{site.url}}/release/breaking-changes/multi-touch-scrolling -[Deprecate imperative apply of Flutter's Gradle plugins]: ${{ site.url }}/release/breaking-changes/flutter-gradle-plugin-apply +[Deprecate imperative apply of Flutter's Gradle plugins]: {{site.url}}/release/breaking-changes/flutter-gradle-plugin-apply ### Released in Flutter 3.16