You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

210 lines
8.6 KiB

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
android {
compileSdkVersion 30
defaultConfig {
applicationId "com.remit.jmecustomer"
minSdkVersion 19
targetSdkVersion 30
versionCode 8
versionName "0.7"
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'
}
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"'
debuggable false
minifyEnabled true
shrinkResources true
useProguard 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', '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"'
debuggable true
minifyEnabled false
shrinkResources false
}
}
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
}
}
sourceSets {
main {
java {
srcDirs 'src\\main\\java', 'src\\main\\java\\com.remit.jmecustomer.features'
}
}
}
}
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'
annotationProcessor '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'
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'
// 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'
}