File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,18 @@ def appName = "Application Name"
11
11
// On staging it will add .staging and on development it will add .development as suffix.
12
12
def applicationId = " com.example.flutter_template"
13
13
14
+ ext {
15
+ androidMinSdkVersion = 21
16
+ androidCompileSdkVersion = 34
17
+ androidTargetSdkVersion = 34
18
+ androidNdkVersion = " 23.1.7779620"
19
+ }
20
+
14
21
15
22
android {
16
23
namespace = " $applicationId "
17
- compileSdk = flutter . compileSdkVersion
18
- ndkVersion = flutter . ndkVersion
24
+ compileSdk = androidCompileSdkVersion
25
+ ndkVersion = " 23.1.7779620 "
19
26
20
27
compileOptions {
21
28
sourceCompatibility = JavaVersion . VERSION_1_8
@@ -30,8 +37,8 @@ android {
30
37
applicationId = " $applicationId "
31
38
// You can update the following values to match your application needs.
32
39
// For more information, see: https://flutter.dev/to/review-gradle-config.
33
- minSdk = flutter . minSdkVersion
34
- targetSdk = flutter . targetSdkVersion
40
+ minSdk = androidMinSdkVersion
41
+ targetSdk = androidTargetSdkVersion
35
42
versionCode = flutter. versionCode
36
43
versionName = flutter. versionName
37
44
}
You can’t perform that action at this time.
0 commit comments