apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.crashlytics' apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' android { compileSdkVersion 31 defaultConfig { applicationId "com.remit.jmecustomer" minSdkVersion 24 targetSdkVersion 31 versionCode 12 versionName "0.9" multiDexEnabled true vectorDrawables.useSupportLibrary = true manifestPlaceholders = [fileProvider: "com.remit.jmecustomer.fileprovider"] buildConfigField 'String', 'FILE_PROVIDER', '"com.remit.jmecustomer.fileprovider"' def dateTime = new Date().format("MMM_dd") setProperty("archivesBaseName", "JME_NEW_" + dateTime + "_v" + versionCode + "(" + versionName + ")") } packagingOptions { exclude 'META-INF/rxjava.properties' //exclude 'lib/x86_64/libopencv_java4.so' //exclude 'lib/x86_64/libtess.so' //exclude 'lib/x86_64/libc++_shared.so' //exclude 'lib/x86_64/libface_detector_v2_jni.so' //exclude 'lib/x86/libopencv_java4.so' //exclude 'lib/x86/libface_detector_v2_jni.so' //exclude 'lib/x86/libtess.so' //exclude 'lib/x86/libc++_shared.so' //exclude 'lib/arm64-v8a/libopencv_java4.so' //exclude 'lib/arm64-v8a/libface_detector_v2_jni.so' //exclude 'lib/arm64-v8a/libtess.so' //exclude 'lib/arm64-v8a/libc++_shared.so' //exclude 'lib/armeabi-v7a/libopencv_java4.so' //exclude 'lib/armeabi-v7a/libface_detector_v2_jni.so' //exclude 'lib/armeabi-v7a/libtess.so' //exclude 'lib/armeabi-v7a/libc++_shared.so' exclude 'assets/models/fssd_100_8bit_gray_v1.tflite' exclude 'assets/models/fssd_100_8bit_v1.tflite' } buildFeatures { viewBinding = true } signingConfigs { release { keyAlias 'JME Remit Key' keyPassword 'Jme@androidKey23#' keyPassword 'Jme@androidKey23#' storeFile file('../keystores/JmeKeyStores/upload-keystore.jks') storePassword 'Jme@androidKey23#' } stag { keyAlias 'JPT' keyPassword 'asdfljk' storeFile file('/Users/gme_1/Android Projects/gme-android/gradlew') storePassword 'sdfgasd' } } buildTypes { release { buildConfigField 'String', 'BASE_URL', '"https://mobile.japanremit.com:8443/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' buildConfigField 'String', 'GME_TOKEN', '"@NcRfTjWnZr4u7x!A%D*G-KaPdSgVkXp"' buildConfigField 'String', 'ClientId', '"5220224461B37738C528430"' buildConfigField 'String', 'SecretKey', '"VkYp3s6v"' buildConfigField 'String', 'TrustDockAuthorizationId', '"SC5ra2f1GDqMaAVZX289bpuH"' buildConfigField 'String', 'ResidenceCardWithNFCPlanId', '"b1da18ee-fabe-42f0-b7f6-0d375e1f505d"' buildConfigField 'String', 'SelfieVerificationPlanId', '"ee46f7fd-3988-49cd-a972-1056e498302f"' buildConfigField 'String', 'ResidenceCardWithoutNFCPlanId', '"9390019a-d41f-42a8-b044-0f41a9825847"' buildConfigField 'String', 'DrivingLicenseWithoutNFCPlanId', '"f8d1f271-7c95-43bf-bdf8-f84ebe96671d"' debuggable false minifyEnabled true shrinkResources true // obfuscate proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' //proguardFiles getDefaultProguardFile('proguard-android-optimize.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://202.166.220.36:8083/api/"' buildConfigField 'String', 'BASE_URL', '"https://sandboxapi.japanremit.com:8083/api/"' buildConfigField 'String', 'API_VERSION', '"v1"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' buildConfigField 'String', 'GME_TOKEN', '"39587YT398@FBQOW8RY3#948R7GB@CNEQW987GF87$TD18$1981..919@@##joghndvberteiru"' buildConfigField 'String', 'ClientId', '"172017F9EC11222E8107142733"' buildConfigField 'String', 'SecretKey', '"QRK2UM0Q"' buildConfigField 'String', 'TrustDockAuthorizationId', '"SC5ra2f1GDqMaAVZX289bpuH"' buildConfigField 'String', 'ResidenceCardWithNFCPlanId', '"b1da18ee-fabe-42f0-b7f6-0d375e1f505d"' buildConfigField 'String', 'SelfieVerificationPlanId', '"ee46f7fd-3988-49cd-a972-1056e498302f"' buildConfigField 'String', 'ResidenceCardWithoutNFCPlanId', '"9390019a-d41f-42a8-b044-0f41a9825847"' buildConfigField 'String', 'DrivingLicenseWithNFCPlanId', '"f8d1f271-7c95-43bf-bdf8-f84ebe96671d"' debuggable true minifyEnabled false shrinkResources false //proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.txt' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } bundle { language { // Specifies that the app bundle should not support // configuration APKs for language resources. These // resources are instead packaged with each base and // dynamic feature APK. enableSplit = false } } dataBinding { enabled = true } namespace 'com.remit.jmecustomer' } repositories { // Other repositories here. maven { url "https://jitpack.io" } } 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.github.bumptech.glide:glide:4.9.0' implementation 'de.hdodenhof:circleimageview:2.2.0' implementation 'com.jakewharton:butterknife:10.2.3' implementation 'com.android.volley:volley:1.2.1' kapt 'com.jakewharton:butterknife-compiler:10.2.3' 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.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' implementation 'com.google.android.gms:play-services-location:17.1.0' // Import the BoM for the Firebase platform implementation platform('com.google.firebase:firebase-bom:29.0.1') implementation 'com.google.firebase:firebase-crashlytics' implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-messaging' implementation 'com.google.firebase:firebase-dynamic-links' testImplementation 'junit:junit:4.12' testImplementation 'pl.pragmatists:JUnitParams:1.1.1' testImplementation "org.mockito:mockito-core:3.0.0" implementation 'androidx.biometric:biometric:1.1.0' implementation 'io.trustdock.sdk:verification-sandbox-full:2.7.2' implementation 'com.google.android.flexbox:flexbox:3.0.0' implementation 'me.relex:circleindicator:2.1.4' // if persistence is not needed (Data retained in memory lost on app close) debugImplementation 'com.ashokvarma.android:gander-imdb:3.1.0' releaseImplementation 'com.ashokvarma.android:gander-no-op:3.1.0' } allprojects { repositories { maven { url "https://native-app-sdk-repository.test.trustdock.io/android/release/content/repositories" credentials { username = "japanremit-1039" password = "sHRf5Sf7S3r5Q4Hz" } } maven { url 'https://raw.githubusercontent.com/iProov/android/master/maven/' } } }