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 29 defaultConfig { applicationId "com.swifttech.remit.android" minSdkVersion 18 targetSdkVersion 29 versionCode 1 versionName "0.0.1" multiDexEnabled true vectorDrawables.useSupportLibrary = true manifestPlaceholders = [fileProvider: "com.swifttech.remit.android.fileprovider"] buildConfigField 'String', 'FILE_PROVIDER', '"com.swifttech.remit.android.fileprovider"' def dateTime = new Date().format("MMM_dd") setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")") } packagingOptions { exclude 'META-INF/rxjava.properties' } 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 { buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable false minifyEnabled false shrinkResources false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } livedebug { buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' signingConfig signingConfigs.debug debuggable true minifyEnabled false shrinkResources false } stag { signingConfig signingConfigs.debug // buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5008/api/"' buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } dev { signingConfig signingConfigs.debug buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } generic { signingConfig signingConfigs.debug buildConfigField 'String', 'BASE_URL', '"http://103.139.152.11:5555/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } jme { signingConfig signingConfigs.debug buildConfigField 'String', 'BASE_URL', '"http://203.223.132.110:9093/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') //noinspection GradleCompatible implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta7' implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.legacy:legacy-support-v4:1.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:17.4.3' implementation 'com.github.bumptech.glide:glide:4.9.0' implementation 'de.hdodenhof:circleimageview:2.2.0' implementation 'com.jakewharton:butterknife:10.2.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0' implementation 'id.zelory:compressor:2.1.0' implementation 'androidx.multidex:multidex:2.0.1' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'io.reactivex.rxjava2:rxjava:2.2.10' implementation 'com.jakewharton.rxbinding3:rxbinding:3.1.0' implementation 'com.jakewharton.rxbinding3:rxbinding-core:3.1.0' implementation 'com.jakewharton.rxbinding3:rxbinding-appcompat:3.1.0' implementation 'com.jakewharton.rxbinding3:rxbinding-drawerlayout:3.1.0' implementation 'com.jakewharton.rxbinding3:rxbinding-recyclerview:3.1.0' implementation 'com.jakewharton.rxbinding3:rxbinding-swiperefreshlayout:3.1.0' implementation 'com.jakewharton.rxbinding3:rxbinding-viewpager:3.1.0' implementation 'androidx.cardview:cardview:1.0.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0' implementation 'androidx.percentlayout:percentlayout:1.0.0' implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" implementation project(path: ':SpinnerDatePickerLib-release') implementation 'com.intuit.sdp:sdp-android:1.0.6' implementation 'com.intuit.ssp:ssp-android:1.0.6' implementation 'com.zoyi.channel:plugin-android:6.1.3' implementation 'com.patloew.rxlocation:rxlocation:1.0.5' implementation 'com.google.android.gms:play-services-location:17.0.0' implementation 'com.github.tbruyelle:rxpermissions:0.10.2' implementation 'com.facebook.shimmer:shimmer:0.1.0@aar' implementation 'com.github.mukeshsolanki:android-otpview-pinview:2.1.0' implementation 'com.google.zxing:core:3.2.0' implementation 'com.google.android.gms:play-services-vision:20.1.0' testImplementation 'junit:junit:4.12' testImplementation 'pl.pragmatists:JUnitParams:1.1.1' testImplementation "org.mockito:mockito-core:3.0.0" implementation project(path: ':rxbiometric') }