Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
utpal-barman committed Oct 15, 2024
1 parent 4ecc805 commit 599a99b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@ def appName = "Application Name"
// On staging it will add .staging and on development it will add .development as suffix.
def applicationId = "com.example.flutter_template"

ext {
androidMinSdkVersion = 21
androidCompileSdkVersion = 34
androidTargetSdkVersion = 34
androidNdkVersion = "23.1.7779620"
}


android {
namespace = "$applicationId"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileSdk = androidCompileSdkVersion
ndkVersion = "23.1.7779620"

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -30,8 +37,8 @@ android {
applicationId = "$applicationId"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
minSdk = androidMinSdkVersion
targetSdk = androidTargetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
Expand Down

0 comments on commit 599a99b

Please sign in to comment.