diff --git a/android/app/build.gradle b/android/app/build.gradle index 5eabf2c2..8d01abf2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -39,7 +39,7 @@ android { } kotlinOptions { - jvmTarget = JavaVersion.VERSION_1_8.toString() + jvmTarget = "1.8" } sourceSets { @@ -50,8 +50,20 @@ android { applicationId "com.codel1417.tailApp" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. + targetSdkVersion rootProject.ext.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName + minSdkVersion 21 + targetSdkVersion rootProject.ext.targetSdkVersion + ndk { + jobs = Runtime.runtime.availableProcessors() + } + + externalNativeBuild { + ndkBuild { + arguments "-j" + Runtime.runtime.availableProcessors() + } + } } signingConfigs { release { diff --git a/android/build.gradle b/android/build.gradle index 6a777e1f..65d9c84d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,7 +1,6 @@ ext { compileSdkVersion = 35 targetSdkVersion = 35 - minSdkVersion = 21 appCompatVersion = "1.7.0" } @@ -21,9 +20,6 @@ subprojects { project.android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion "34.0.0" - defaultConfig { - minSdkVersion rootProject.ext.minSdkVersion - } } } }