Skip to content

Commit 000643a

Browse files
authored
Enable Built-in Kotlin in all Flutter Android Plugin Example Apps (flutter#12883)
Start to enable built-in kotlin. Let's check this works before doing this automatically for all builds via the migrator. This only affects example apps. Enabling last outstanding example plugin app `interactive_media_ads` in a follow up PR: flutter/packages#12912. It requires updating a kotlin testing dependency (in the plugin module; not the example app) that breaks when built-in kotlin is enabled. Partially Addresses flutter#189235 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent f2f1c28 commit 000643a

41 files changed

Lines changed: 41 additions & 41 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/animations/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/camera/camera/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/camera/camera_android/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/camera/camera_android_camerax/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/espresso/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/extension_google_sign_in_as_googleapis_auth/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/file_selector/file_selector/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/file_selector/file_selector_android/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/flutter_plugin_android_lifecycle/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

‎packages/go_router/example/android/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m
22
android.useAndroidX=true
33

44
# This builtInKotlin flag was added automatically by Flutter migrator
5-
android.builtInKotlin=false
5+
android.builtInKotlin=true
66
# This newDsl flag was added automatically by Flutter migrator
77
android.newDsl=false

0 commit comments

Comments
 (0)