about "flutter.compileSdkVersion" #107
-
|
(I'm a beginner in development and English. I'm sorry if I said the wrong thing.) Hello, sqflite/android/build.gradle
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Are you having issues with that? I changed it so that it evolves along the Flutter version you are using. |
Beta Was this translation helpful? Give feedback.
-
|
Good question! The line:
is using Gradle's Kotlin DSL syntax. The = is correct here. Previously, compileSdk 34 was written in Groovy DSL. When migrating to Kotlin DSL, we use = for assignments. Both set the compile SDK version, but the syntax changes because of the build script language. |
Beta Was this translation helpful? Give feedback.
@otofu128 After some investigation, keeping flutter.compileSdkVersion seems the best option.
On August 31st, apps will require to target Android SDK 35+, and Flutter 3.24 targets version 34.
What I will do is update the plugin to require Flutter version 3.27 so that it doesn't cause confusion when building.