💄 Optimize platform specfic code

This commit is contained in:
2024-06-29 22:29:21 +08:00
parent 49f999871a
commit 65333ccef6
3 changed files with 57 additions and 9 deletions

View File

@ -26,11 +26,7 @@ if (flutterVersionName == null) {
android {
namespace = "dev.solsynth.solian"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
defaultConfig {
multiDexEnabled true
}
ndkVersion = "26.1.10909125"
compileOptions {
coreLibraryDesugaringEnabled true
@ -40,9 +36,8 @@ android {
defaultConfig {
applicationId = "dev.solsynth.solian"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdk = flutter.minSdkVersion
minSdkVersion 23
multiDexEnabled true
targetSdk = flutter.targetSdkVersion
versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName