From d6dc4410b7311d4873ddcc427d22f6b2651e0a76 Mon Sep 17 00:00:00 2001 From: jesswrd Date: Fri, 24 Jul 2026 16:31:23 -0700 Subject: [PATCH 1/7] added enabling built-in kotlin --- .../for-app-developers.md | 15 ++++++++++++++- .../for-plugin-authors.md | 16 +++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md index 2c034dbf21d..48ef674b557 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md @@ -296,7 +296,20 @@ kotlin { ## Validate -Execute `flutter run` or `flutter build apk` to +Before enabling Built-in Kotlin, confirm that you have migrated your application +and any Flutter plugins it uses. + +To enable Built-in Kotlin, set the `android.builtInKotlin` property +to `true` in your gradle.properties file: + +```properties diff title="/android/gradle.properties" +# ... ++ android.builtInKotlin=true +``` +> [!NOTE] +> Enabling Built-in Kotlin requires Flutter 3.47 or later. + +After enabling Built-in Kotlin, execute `flutter run` or `flutter build apk` to confirm that your app builds and launches on a connected Android device or emulator. diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md index 67f5398f415..4baac7aebd2 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md @@ -419,7 +419,21 @@ the newly released plugin version: ## Validate -Execute `flutter run` or `flutter build apk` to +Before enabling Built-in Kotlin, confirm that you have migrated +your plugin example app and any Flutter plugins it uses. + +To enable Built-in Kotlin, set the `android.builtInKotlin` property +to `true` in your gradle.properties file: + +```properties diff title="/android/gradle.properties" +# ... ++ android.builtInKotlin=true +``` + +> [!NOTE] +> Enabling Built-in Kotlin requires Flutter 3.47 or later. + +After enabling Built-in Kotlin, execute `flutter run` or `flutter build apk` to confirm that your plugin example app builds and launches on a connected Android device or emulator. From 01b4ede9b312158e619e4ecfb6b4928951bf30cb Mon Sep 17 00:00:00 2001 From: jesswrd Date: Fri, 24 Jul 2026 16:34:39 -0700 Subject: [PATCH 2/7] Update sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md follow semantic guidelines. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .../migrate-to-built-in-kotlin/for-app-developers.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md index 48ef674b557..cfa2b3aa83b 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md @@ -296,11 +296,13 @@ kotlin { ## Validate -Before enabling Built-in Kotlin, confirm that you have migrated your application +Before enabling Built-in Kotlin, +confirm that you have migrated your application and any Flutter plugins it uses. -To enable Built-in Kotlin, set the `android.builtInKotlin` property -to `true` in your gradle.properties file: +To enable Built-in Kotlin, +set the `android.builtInKotlin` property to `true` +in your `gradle.properties` file: ```properties diff title="/android/gradle.properties" # ... From 725b351b04f3a8e4d0166c94b2422e3d464f9412 Mon Sep 17 00:00:00 2001 From: jesswrd Date: Fri, 24 Jul 2026 16:34:53 -0700 Subject: [PATCH 3/7] Update sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md fix markdown syntax Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .../migrate-to-built-in-kotlin/for-app-developers.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md index cfa2b3aa83b..88ffba9238e 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md @@ -308,8 +308,9 @@ in your `gradle.properties` file: # ... + android.builtInKotlin=true ``` -> [!NOTE] -> Enabling Built-in Kotlin requires Flutter 3.47 or later. +::::note +Enabling Built-in Kotlin requires Flutter 3.47 or later. +:::: After enabling Built-in Kotlin, execute `flutter run` or `flutter build apk` to confirm that your app builds and From 09455d2276b08c393a7593f5624c2dfb93922b7b Mon Sep 17 00:00:00 2001 From: jesswrd Date: Fri, 24 Jul 2026 16:35:02 -0700 Subject: [PATCH 4/7] Update sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md follow semantic guidelines. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .../migrate-to-built-in-kotlin/for-app-developers.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md index 88ffba9238e..a3c144bf944 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers.md @@ -312,9 +312,10 @@ in your `gradle.properties` file: Enabling Built-in Kotlin requires Flutter 3.47 or later. :::: -After enabling Built-in Kotlin, execute `flutter run` or `flutter build apk` to -confirm that your app builds and -launches on a connected Android device or emulator. +After enabling Built-in Kotlin, +execute `flutter run` or `flutter build apk` +to confirm that your app builds and launches +on a connected Android device or emulator. If your app fails to build because you are using an unmigrated Flutter plugin, From 82411053cebcdadf3967e9b1d6e5e52df61396a3 Mon Sep 17 00:00:00 2001 From: jesswrd Date: Fri, 24 Jul 2026 16:35:47 -0700 Subject: [PATCH 5/7] Update sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md follow semantic guidelines. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .../migrate-to-built-in-kotlin/for-plugin-authors.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md index 4baac7aebd2..5df42511c81 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md @@ -419,11 +419,13 @@ the newly released plugin version: ## Validate -Before enabling Built-in Kotlin, confirm that you have migrated -your plugin example app and any Flutter plugins it uses. +Before enabling Built-in Kotlin, +confirm that you have migrated your plugin example app +and any Flutter plugins it uses. -To enable Built-in Kotlin, set the `android.builtInKotlin` property -to `true` in your gradle.properties file: +To enable Built-in Kotlin, +set the `android.builtInKotlin` property to `true` +in your `gradle.properties` file: ```properties diff title="/android/gradle.properties" # ... From 1215cc34bbcb37fdbf90fc4964e8c1eb7d23930b Mon Sep 17 00:00:00 2001 From: jesswrd Date: Fri, 24 Jul 2026 16:35:54 -0700 Subject: [PATCH 6/7] Update sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md follow semantic guidelines. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .../migrate-to-built-in-kotlin/for-plugin-authors.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md index 5df42511c81..a21dbc6070e 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md @@ -435,8 +435,9 @@ in your `gradle.properties` file: > [!NOTE] > Enabling Built-in Kotlin requires Flutter 3.47 or later. -After enabling Built-in Kotlin, execute `flutter run` or `flutter build apk` to -confirm that your plugin example app builds and launches +After enabling Built-in Kotlin, +execute `flutter run` or `flutter build apk` +to confirm that your plugin example app builds and launches on a connected Android device or emulator. If your plugin example app also applies KGP, From 8da3acc4f39796333eb3dee6dc5812fc375f6a01 Mon Sep 17 00:00:00 2001 From: jesswrd Date: Fri, 24 Jul 2026 16:36:05 -0700 Subject: [PATCH 7/7] Update sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md fix markdown syntax Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .../migrate-to-built-in-kotlin/for-plugin-authors.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md index a21dbc6070e..5de933d4b4b 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md @@ -432,8 +432,9 @@ in your `gradle.properties` file: + android.builtInKotlin=true ``` -> [!NOTE] -> Enabling Built-in Kotlin requires Flutter 3.47 or later. +::::note +Enabling Built-in Kotlin requires Flutter 3.47 or later. +:::: After enabling Built-in Kotlin, execute `flutter run` or `flutter build apk`