|  |  |  | plugins { | 
					
						
							|  |  |  |     id "com.android.application" | 
					
						
							|  |  |  |     id "kotlin-android" | 
					
						
							|  |  |  |     id "com.google.gms.google-services" | 
					
						
							|  |  |  |     id "dev.flutter.flutter-gradle-plugin" | 
					
						
							|  |  |  |     id "com.google.firebase.crashlytics" | 
					
						
							|  |  |  |     id "com.huawei.agconnect" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | def keystoreProperties = new Properties() | 
					
						
							|  |  |  | def keystorePropertiesFile = rootProject.file('key.properties') | 
					
						
							|  |  |  | if (keystorePropertiesFile.exists()) { | 
					
						
							|  |  |  |     keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | android { | 
					
						
							|  |  |  |     namespace 'hmg.cloudSolutions.mohem' | 
					
						
							|  |  |  |     compileSdk 36 | 
					
						
							|  |  |  |     ndkVersion '28.2.13676358' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     kotlinOptions { | 
					
						
							|  |  |  |         jvmTarget = '1.8' | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     sourceSets { | 
					
						
							|  |  |  |         main.java.srcDirs += 'src/main/kotlin' | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     defaultConfig { | 
					
						
							|  |  |  |         // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
 | 
					
						
							|  |  |  |         applicationId "hmg.cloudSolutions.mohem" | 
					
						
							|  |  |  |         minSdkVersion 30 | 
					
						
							|  |  |  |         targetSdk 35 | 
					
						
							|  |  |  |         targetSdk = flutter.targetSdkVersion | 
					
						
							|  |  |  |         versionCode flutter.versionCode | 
					
						
							|  |  |  |         versionName flutter.versionName | 
					
						
							|  |  |  |         multiDexEnabled true | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     compileOptions { | 
					
						
							|  |  |  |         coreLibraryDesugaringEnabled true | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     buildFeatures{ | 
					
						
							|  |  |  |         buildConfig true | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     signingConfigs { | 
					
						
							|  |  |  |         release { | 
					
						
							|  |  |  |             keyAlias keystoreProperties['keyAlias'] | 
					
						
							|  |  |  |             keyPassword keystoreProperties['keyPassword'] | 
					
						
							|  |  |  |             storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null | 
					
						
							|  |  |  |             storePassword keystoreProperties['storePassword'] | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     buildTypes { | 
					
						
							|  |  |  |         debug { | 
					
						
							|  |  |  |             signingConfig signingConfigs.debug | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         release { | 
					
						
							|  |  |  |             signingConfig signingConfigs.release | 
					
						
							|  |  |  |             minifyEnabled true | 
					
						
							|  |  |  |             shrinkResources true | 
					
						
							|  |  |  |             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | flutter { | 
					
						
							|  |  |  |     source '../..' | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dependencies { | 
					
						
							|  |  |  |     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.20" | 
					
						
							|  |  |  |     implementation 'androidx.multidex:multidex:2.0.1' | 
					
						
							|  |  |  |     coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5' | 
					
						
							|  |  |  |     implementation 'com.huawei.hms:push:6.11.0.300' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |