apply plugin: 'com.android.application' android { lintOptions { disable 'MissingTranslation' checkReleaseBuilds false abortOnError false } // change with your msmkey storeFile signingConfigs { msmkey { keyAlias 'aitmsskey' keyPassword 'AdIns2020' storeFile file('keystore2020.jks') storePassword 'AdIns2020' } } compileSdkVersion 30 buildToolsVersion '29.0.2' defaultConfig { applicationId "com.adins.mss.odr" minSdkVersion 19 targetSdkVersion 30 versionCode 7898 versionName "3.2.0.0-$versionCode" vectorDrawables.useSupportLibrary = true multiDexEnabled true // testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" useLibrary 'org.apache.http.legacy' archivesBaseName = "MSSODR-$versionName" ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64' javaCompileOptions { annotationProcessorOptions { includeCompileClasspath false } } } dexOptions { javaMaxHeapSize "5g" } dataBinding { enabled = true } buildTypes { release { shrinkResources false minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.msmkey } } flavorDimensions "default" productFlavors { product { applicationId "com.adins.mss.odr" versionCode 7898 dimension "default" versionName "3.2.0.0-$versionCode-P" buildConfigField "boolean", "IS_DEV", "false" buildConfigField "boolean", "IS_DBENCRYPT", "true" buildConfigField "boolean", "IS_BYPASSROOT", "false" buildConfigField "String", "IS_FLAVORS", "\"PRODUCT\"" } trial { applicationId "com.adins.mss.odr.trial" versionCode 7898 dimension "default" versionName "3.2.0.0-$versionCode-P" buildConfigField "boolean", "IS_DEV", "false" buildConfigField "boolean", "IS_DBENCRYPT", "true" buildConfigField "boolean", "IS_BYPASSROOT", "false" buildConfigField "String", "IS_FLAVORS", "\"TRIAL\"" } cloud { applicationId "com.adins.mss.odr.cloud" versionCode 7898 dimension "default" versionName "3.2.0.0-$versionCode-P" buildConfigField "boolean", "IS_DEV", "false" buildConfigField "boolean", "IS_DBENCRYPT", "true" buildConfigField "boolean", "IS_BYPASSROOT", "false" buildConfigField "String", "IS_FLAVORS", "\"PRODUCT\"" } clouddev { applicationId "com.adins.mss.odr.cloud.dev" versionCode 7250 dimension "default" versionName "3.2.0.0-$versionCode-D" buildConfigField "boolean", "IS_DEV", "true" buildConfigField "boolean", "IS_DBENCRYPT", "false" buildConfigField "boolean", "IS_BYPASSROOT", "true" buildConfigField "String", "IS_FLAVORS", "\"DEVELOPER\"" } cloudtrial { applicationId "com.adins.mss.odr.cloud.trial" versionCode 7250 dimension "default" versionName "3.2.0.0-$versionCode-P" buildConfigField "boolean", "IS_DEV", "false" buildConfigField "boolean", "IS_DBENCRYPT", "true" buildConfigField "boolean", "IS_BYPASSROOT", "false" buildConfigField "String", "IS_FLAVORS", "\"TRIAL\"" } } } dependencies { implementation project(':mssbase') implementation('androidx.appcompat:appcompat:1.0.0') implementation 'com.google.firebase:firebase-messaging:20.2.4' implementation 'com.google.firebase:firebase-core:17.5.0' implementation 'com.google.firebase:firebase-analytics:17.5.0' implementation 'com.google.firebase:firebase-crashlytics:17.2.1' implementation 'com.google.firebase:firebase-perf:19.0.8' testImplementation 'junit:junit:4.12' testImplementation 'org.mockito:mockito-core:1.10.19' implementation 'com.github.bumptech.glide:glide:3.7.0' implementation 'net.zetetic:android-database-sqlcipher:3.5.1' } apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.crashlytics' apply plugin: 'com.google.firebase.firebase-perf'