1+ plugins {
2+ id " com.android.application"
3+ id " kotlin-android"
4+ id " dev.flutter.flutter-gradle-plugin"
5+ }
6+
17def localProperties = new Properties ()
28def localPropertiesFile = rootProject. file(' local.properties' )
39if (localPropertiesFile. exists()) {
@@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
612 }
713}
814
9- def flutterRoot = localProperties. getProperty(' flutter.sdk' )
10- if (flutterRoot == null ) {
11- throw new GradleException (" Flutter SDK not found. Define location with flutter.sdk in the local.properties file." )
12- }
13-
1415def flutterVersionCode = localProperties. getProperty(' flutter.versionCode' )
1516if (flutterVersionCode == null ) {
1617 flutterVersionCode = ' 1'
@@ -21,10 +22,6 @@ if (flutterVersionName == null) {
2122 flutterVersionName = ' 1.0'
2223}
2324
24- apply plugin : ' com.android.application'
25- apply plugin : ' kotlin-android'
26- apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27-
2825android {
2926 compileSdkVersion 31
3027
@@ -34,8 +31,8 @@ android {
3431
3532 defaultConfig {
3633 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37- applicationId " com.calendar.page.example.example "
38- minSdkVersion 16
34+ applicationId " com.simformsolutions.calendarview "
35+ minSdkVersion flutter . minSdkVersion
3936 targetSdkVersion 31
4037 versionCode flutterVersionCode. toInteger()
4138 versionName flutterVersionName
@@ -48,12 +45,13 @@ android {
4845 signingConfig signingConfigs. debug
4946 }
5047 }
48+ namespace ' com.simformsolutions.calendarview'
5149}
5250
5351flutter {
5452 source ' ../..'
5553}
5654
5755dependencies {
58- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7: $k otlin_version "
56+ // Add required dependencies...
5957}
0 commit comments