plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id "dev.flutter.flutter-gradle-plugin" id "com.google.gms.google-services" } def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { flutterVersionCode = '1' } def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { flutterVersionName = '1.0' } //apply plugin: 'com.android.application' //apply plugin: 'kotlin-android' //apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { namespace "com.hmg.hmgDr" compileSdkVersion 35 signingConfigs { release { storeFile file('../doctor_app_key') storePassword 'Hmgdoctor1234' keyAlias 'hmgdoctor' keyPassword 'Hmgdoctor1234' } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } lintOptions { disable 'InvalidPackage' } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.hmg.hmgDr" minSdkVersion 24 targetSdkVersion 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true } buildTypes { release { // TODO: Add your own signing config for the release build. signingConfig signingConfigs.release debuggable false minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug } } // flavorDimensions 'environment' // productFlavors { // production { // dimension 'environment' // } // } // // configurations { // productionDebugImplementation // productionReleaseImplementation // } packagingOptions { exclude 'META-INF/proguard/androidx-annotations.pro' pickFirst 'lib/x86/libc++_shared.so' pickFirst 'lib/x86_64/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libc++_shared.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' pickFirst '**/*.so' } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } } flutter { source '../..' } dependencies { // implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' //ZOOM implementation "us.zoom.videosdk:zoomvideosdk-core:1.10.1" implementation "us.zoom.videosdk:zoomvideosdk-annotation:1.10.1" implementation "us.zoom.videosdk:zoomvideosdk-videoeffects:1.10.1" //openTok implementation 'com.opentok.android:opentok-android-sdk:2.20.1' //permissions // implementation 'pub.devrel:easypermissions:0.4.0' // implementation project(':easypermissions') //retrofit implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.okhttp3:okhttp:4.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.6.2' implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1' implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0' implementation 'com.android.support:multidex:1.0.3' implementation 'com.google.firebase:firebase-analytics:17.4.1' } //apply plugin: 'com.google.gms.google-services'