buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } apply plugin: 'com.android.application' repositories { maven { url 'https://maven.fabric.io/public' } } apply plugin: 'io.fabric' android { compileSdkVersion 28 defaultConfig { applicationId "com.gmeremit.online.gmeremittance_native" minSdkVersion 18 targetSdkVersion 28 versionCode 6 versionName "1.1.0" multiDexEnabled true vectorDrawables.useSupportLibrary = true def dateTime = new Date().format("MMM_dd") setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")") ndk { abiFilters "armeabi-v7a", "x86" } } // // splits { // abi { // enable true // reset() // include 'x86', 'armeabi-v7a', 'x86_64' // universalApk true // } // } signingConfigs { release { keyAlias 'GmeRemitKey' keyPassword 'GmeRemit@1010' keyPassword 'GmeRemit@1010' storeFile file('../storekeys/GmeStoreKeys') storePassword 'GmeRemit@1010' } stag { keyAlias 'JPT' keyPassword 'asdfljk' storeFile file('/Users/gme_1/Android Projects/gme-android/gradlew') storePassword 'sdfgasd' } } buildTypes { release { manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider" buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable false minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } debug { manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider" buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' signingConfig signingConfigs.debug debuggable true minifyEnabled false shrinkResources false } stag { manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.stag.fileprovider" applicationIdSuffix ".stag" signingConfig signingConfigs.debug buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } dev { manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.uat.fileprovider" applicationIdSuffix ".uat" signingConfig signingConfigs.debug buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } kftc { manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider" buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable false minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release lintOptions { disable 'MissingTranslation' checkReleaseBuilds false abortOnError false } } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'com.android.support:support-vector-drawable:28.0.0' implementation 'com.android.support:support-v4:28.0.0' implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-gson:2.4.0' implementation 'com.google.firebase:firebase-core:16.0.4' implementation 'com.google.firebase:firebase-messaging:17.3.3' implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5' implementation 'com.github.kapilmhr:AlphabetIndexFastScrollRecyclerview:1.0.0' implementation 'com.github.kapilmhr:DesignToPDF:1.0' implementation 'com.github.kapilmhr:TextDrawable:1.0.1' implementation 'com.shehabic.droppy:Droppy:0.6.0@aar' implementation 'com.github.bumptech.glide:glide:3.8.0' implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.0' implementation 'com.github.kapilmhr:SizesDP:1.1' implementation 'de.hdodenhof:circleimageview:2.2.0' implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' implementation 'id.zelory:compressor:2.1.0' implementation 'com.android.support:multidex:1.0.3' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'io.reactivex.rxjava2:rxjava:2.1.0' implementation 'com.android.support:percent:28.0.0' implementation 'com.android.support:cardview-v7:28.0.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0' implementation 'com.scottyab:rootbeer-lib:0.0.7' implementation project(':securitykeypad') implementation project(':SpinnerDatePickerLib-release') } apply plugin: 'com.google.gms.google-services'