@@ -5,26 +5,8 @@ plugins {
55 id " dev.flutter.flutter-gradle-plugin"
66}
77
8- def localProperties = new Properties ()
9- def localPropertiesFile = rootProject. file(" local.properties" )
10- if (localPropertiesFile. exists()) {
11- localPropertiesFile. withReader(" UTF-8" ) { reader ->
12- localProperties. load(reader)
13- }
14- }
15-
16- def flutterVersionCode = localProperties. getProperty(" flutter.versionCode" )
17- if (flutterVersionCode == null ) {
18- flutterVersionCode = " 1"
19- }
20-
21- def flutterVersionName = localProperties. getProperty(" flutter.versionName" )
22- if (flutterVersionName == null ) {
23- flutterVersionName = " 1.0"
24- }
25-
268android {
27- namespace = " dev.danvickmiller.formbuildervalidators .example"
9+ namespace = " com.example .example"
2810 compileSdk = flutter. compileSdkVersion
2911 ndkVersion = flutter. ndkVersion
3012
@@ -33,14 +15,19 @@ android {
3315 targetCompatibility = JavaVersion . VERSION_1_8
3416 }
3517
18+ kotlinOptions {
19+ jvmTarget = JavaVersion . VERSION_1_8
20+ }
21+
3622 defaultConfig {
37- applicationId = " dev.danvickmiller.formbuildervalidators.example"
23+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24+ applicationId = " com.example.example"
3825 // You can update the following values to match your application needs.
39- // For more information, see: https://docs. flutter.dev/deployment/android#reviewing-the- gradle-build-configuration .
26+ // For more information, see: https://flutter.dev/to/review- gradle-config .
4027 minSdk = flutter. minSdkVersion
4128 targetSdk = flutter. targetSdkVersion
42- versionCode = flutterVersionCode . toInteger()
43- versionName = flutterVersionName
29+ versionCode = flutter . versionCode
30+ versionName = flutter . versionName
4431 }
4532
4633 buildTypes {
0 commit comments