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

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
4 years ago
4 years ago
4 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
3 years ago
6 years ago
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.google.gms.google-services'
  3. apply plugin: 'com.google.firebase.crashlytics'
  4. android {
  5. compileSdkVersion 30
  6. defaultConfig {
  7. applicationId "com.remit.jmecustomer"
  8. minSdkVersion 19
  9. targetSdkVersion 30
  10. versionCode 6
  11. versionName "0.5"
  12. multiDexEnabled true
  13. vectorDrawables.useSupportLibrary = true
  14. manifestPlaceholders = [fileProvider: "com.remit.jmecustomer.fileprovider"]
  15. buildConfigField 'String', 'FILE_PROVIDER', '"com.remit.jmecustomer.fileprovider"'
  16. def dateTime = new Date().format("MMM_dd")
  17. setProperty("archivesBaseName", "JME_NEW_" + dateTime + "_v" + versionCode + "(" + versionName + ")")
  18. }
  19. packagingOptions {
  20. exclude 'META-INF/rxjava.properties'
  21. }
  22. buildFeatures {
  23. viewBinding = true
  24. }
  25. signingConfigs {
  26. release {
  27. keyAlias 'JME Remit Key'
  28. keyPassword 'Jme@androidKey23#'
  29. keyPassword 'Jme@androidKey23#'
  30. storeFile file('../keystores/JmeKeyStores/upload-keystore.jks')
  31. storePassword 'Jme@androidKey23#'
  32. }
  33. stag {
  34. keyAlias 'JPT'
  35. keyPassword 'asdfljk'
  36. storeFile file('/Users/gme_1/Android Projects/gme-android/gradlew')
  37. storePassword 'sdfgasd'
  38. }
  39. }
  40. buildTypes {
  41. release {
  42. buildConfigField 'String', 'BASE_URL', '"https://mobile.japanremit.com:8443/api/"'
  43. buildConfigField 'String', 'API_VERSION', '"v1"'
  44. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  45. buildConfigField 'String', 'GME_TOKEN', '"@NcRfTjWnZr4u7x!A%D*G-KaPdSgVkXp"'
  46. buildConfigField 'String', 'ClientId', '"5220224461B37738C528430"'
  47. buildConfigField 'String', 'SecretKey', '"VkYp3s6v"'
  48. debuggable false
  49. minifyEnabled true
  50. shrinkResources true
  51. useProguard true // obfuscate
  52. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  53. //proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  54. signingConfig signingConfigs.release
  55. }
  56. livedebug {
  57. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"'
  58. buildConfigField 'String', 'API_VERSION', '"v1"'
  59. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  60. signingConfig signingConfigs.debug
  61. debuggable true
  62. minifyEnabled false
  63. shrinkResources false
  64. }
  65. stag {
  66. signingConfig signingConfigs.debug
  67. // buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5008/api/"'
  68. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"'
  69. buildConfigField 'String', 'API_VERSION', '"v1"'
  70. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  71. debuggable true
  72. minifyEnabled false
  73. shrinkResources false
  74. }
  75. dev {
  76. signingConfig signingConfigs.debug
  77. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/"'
  78. buildConfigField 'String', 'API_VERSION', '"v1"'
  79. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  80. debuggable true
  81. minifyEnabled false
  82. shrinkResources false
  83. }
  84. generic {
  85. signingConfig signingConfigs.debug
  86. buildConfigField 'String', 'BASE_URL', '"http://103.139.152.11:5555/api/"'
  87. buildConfigField 'String', 'API_VERSION', '"v1"'
  88. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  89. debuggable true
  90. minifyEnabled false
  91. shrinkResources false
  92. }
  93. jme {
  94. signingConfig signingConfigs.debug
  95. buildConfigField 'String', 'BASE_URL', '"http://202.166.220.36:8083/api/"'
  96. buildConfigField 'String', 'API_VERSION', '"v1"'
  97. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  98. buildConfigField 'String', 'GME_TOKEN', '"39587YT398@FBQOW8RY3#948R7GB@CNEQW987GF87$TD18$1981..919@@##joghndvberteiru"'
  99. buildConfigField 'String', 'ClientId', '"172017F9EC11222E8107142733"'
  100. buildConfigField 'String', 'SecretKey', '"QRK2UM0Q"'
  101. debuggable true
  102. minifyEnabled false
  103. shrinkResources false
  104. }
  105. }
  106. compileOptions {
  107. sourceCompatibility JavaVersion.VERSION_1_8
  108. targetCompatibility JavaVersion.VERSION_1_8
  109. }
  110. bundle {
  111. language {
  112. // Specifies that the app bundle should not support
  113. // configuration APKs for language resources. These
  114. // resources are instead packaged with each base and
  115. // dynamic feature APK.
  116. enableSplit = false
  117. }
  118. }
  119. sourceSets {
  120. main {
  121. java {
  122. srcDirs 'src\\main\\java', 'src\\main\\java\\com.remit.jmecustomer.features'
  123. }
  124. }
  125. }
  126. }
  127. repositories {
  128. // Other repositories here.
  129. maven { url "https://jitpack.io" }
  130. }
  131. dependencies {
  132. implementation fileTree(include: ['*.jar'], dir: 'libs')
  133. //noinspection GradleCompatible
  134. implementation 'androidx.appcompat:appcompat:1.1.0'
  135. implementation 'com.google.android.material:material:1.2.0'
  136. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta7'
  137. implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
  138. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  139. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  140. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  141. implementation 'com.github.bumptech.glide:glide:4.9.0'
  142. implementation 'de.hdodenhof:circleimageview:2.2.0'
  143. implementation 'com.jakewharton:butterknife:10.2.3'
  144. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
  145. implementation 'id.zelory:compressor:2.1.0'
  146. implementation 'androidx.multidex:multidex:2.0.1'
  147. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  148. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  149. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  150. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  151. implementation 'com.jakewharton.rxbinding3:rxbinding:3.1.0'
  152. implementation 'com.jakewharton.rxbinding3:rxbinding-core:3.1.0'
  153. implementation 'com.jakewharton.rxbinding3:rxbinding-appcompat:3.1.0'
  154. implementation 'com.jakewharton.rxbinding3:rxbinding-drawerlayout:3.1.0'
  155. implementation 'com.jakewharton.rxbinding3:rxbinding-recyclerview:3.1.0'
  156. implementation 'com.jakewharton.rxbinding3:rxbinding-swiperefreshlayout:3.1.0'
  157. implementation 'com.jakewharton.rxbinding3:rxbinding-viewpager:3.1.0'
  158. implementation 'androidx.cardview:cardview:1.0.0'
  159. implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
  160. implementation 'androidx.percentlayout:percentlayout:1.0.0'
  161. implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  162. implementation project(path: ':SpinnerDatePickerLib-release')
  163. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  164. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  165. implementation 'com.zoyi.channel:plugin-android:6.1.3'
  166. implementation 'com.patloew.rxlocation:rxlocation:1.0.5'
  167. implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
  168. implementation 'com.facebook.shimmer:shimmer:0.1.0@aar'
  169. implementation 'com.github.mukeshsolanki:android-otpview-pinview:2.1.0'
  170. implementation 'com.google.zxing:core:3.2.0'
  171. implementation 'com.google.android.gms:play-services-vision:20.1.0'
  172. implementation 'com.google.android.gms:play-services-location:17.1.0'
  173. // Import the BoM for the Firebase platform
  174. implementation platform('com.google.firebase:firebase-bom:29.0.1')
  175. implementation 'com.google.firebase:firebase-crashlytics'
  176. implementation 'com.google.firebase:firebase-analytics'
  177. implementation 'com.google.firebase:firebase-messaging'
  178. testImplementation 'junit:junit:4.12'
  179. testImplementation 'pl.pragmatists:JUnitParams:1.1.1'
  180. testImplementation "org.mockito:mockito-core:3.0.0"
  181. implementation 'androidx.biometric:biometric:1.1.0'
  182. // if persistence is not needed (Data retained in memory lost on app close)
  183. debugImplementation 'com.ashokvarma.android:gander-imdb:3.1.0'
  184. releaseImplementation 'com.ashokvarma.android:gander-no-op:3.1.0'
  185. }