You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another reason to switch to Kotlin would be to reduce the number of languages that developers have to interact with when using Flutter. The default app and plugin templates have been using Kotlin for a while, so changing the gradle files in the template to Kotlin would reduce the language set for Android development from {Dart, Kotlin, Groovy} to {Dart, Kotlin}.
(We'd need to update all the docs about gradle files to show both though.)
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
jonahwilliams commentedon Feb 5, 2020
I don't think we would plan to do this one ourselves, but I would certainly review/welcome patches from people who felt more strongly about it.
jonahwilliams commentedon Feb 5, 2020
For posterity, the flutter.gradle script lives in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/gradle/flutter.gradle
blasten commentedon May 7, 2021
This has been suggested by the AGP team too. They built AGP in Kotlin
stuartmorgan-g commentedon Sep 1, 2022
Another reason to switch to Kotlin would be to reduce the number of languages that developers have to interact with when using Flutter. The default app and plugin templates have been using Kotlin for a while, so changing the gradle files in the template to Kotlin would reduce the language set for Android development from {Dart, Kotlin, Groovy} to {Dart, Kotlin}.
(We'd need to update all the docs about gradle files to show both though.)
reidbaker commentedon Feb 27, 2023
Closing this as a dup of #121541 since that bug is a bit better in clarity and scope.
github-actions commentedon Mar 13, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.