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.

187 lines
7.4 KiB

6 years ago
6 years ago
6 years ago
4 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
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 1
  11. versionName "0.1"
  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 'GmeRemitKey'
  28. keyPassword 'GmeRemit@1010'
  29. keyPassword 'GmeRemit@1010'
  30. storeFile file('../storekeys/GmeStoreKeys')
  31. storePassword 'GmeRemit@1010'
  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://mobileapi.gmeremit.com:8002/api/"'
  43. buildConfigField 'String', 'API_VERSION', '"v1"'
  44. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  45. debuggable false
  46. minifyEnabled false
  47. shrinkResources false
  48. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  49. signingConfig signingConfigs.release
  50. }
  51. livedebug {
  52. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"'
  53. buildConfigField 'String', 'API_VERSION', '"v1"'
  54. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  55. signingConfig signingConfigs.debug
  56. debuggable true
  57. minifyEnabled false
  58. shrinkResources false
  59. }
  60. stag {
  61. signingConfig signingConfigs.debug
  62. // buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5008/api/"'
  63. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"'
  64. buildConfigField 'String', 'API_VERSION', '"v1"'
  65. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  66. debuggable true
  67. minifyEnabled false
  68. shrinkResources false
  69. }
  70. dev {
  71. signingConfig signingConfigs.debug
  72. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/"'
  73. buildConfigField 'String', 'API_VERSION', '"v1"'
  74. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  75. debuggable true
  76. minifyEnabled false
  77. shrinkResources false
  78. }
  79. generic {
  80. signingConfig signingConfigs.debug
  81. buildConfigField 'String', 'BASE_URL', '"http://103.139.152.11:5555/api/"'
  82. buildConfigField 'String', 'API_VERSION', '"v1"'
  83. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  84. debuggable true
  85. minifyEnabled false
  86. shrinkResources false
  87. }
  88. jme {
  89. signingConfig signingConfigs.debug
  90. buildConfigField 'String', 'BASE_URL', '"http://202.166.220.36:8083/api/"'
  91. buildConfigField 'String', 'API_VERSION', '"v1"'
  92. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  93. debuggable true
  94. minifyEnabled false
  95. shrinkResources false
  96. }
  97. }
  98. compileOptions {
  99. sourceCompatibility JavaVersion.VERSION_1_8
  100. targetCompatibility JavaVersion.VERSION_1_8
  101. }
  102. }
  103. repositories {
  104. // Other repositories here.
  105. maven { url "https://jitpack.io" }
  106. }
  107. dependencies {
  108. implementation fileTree(include: ['*.jar'], dir: 'libs')
  109. //noinspection GradleCompatible
  110. implementation 'androidx.appcompat:appcompat:1.1.0'
  111. implementation 'com.google.android.material:material:1.2.0'
  112. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta7'
  113. implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
  114. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  115. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  116. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  117. implementation 'com.github.bumptech.glide:glide:4.9.0'
  118. implementation 'de.hdodenhof:circleimageview:2.2.0'
  119. implementation 'com.jakewharton:butterknife:10.2.3'
  120. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
  121. implementation 'id.zelory:compressor:2.1.0'
  122. implementation 'androidx.multidex:multidex:2.0.1'
  123. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  124. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  125. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  126. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  127. implementation 'com.jakewharton.rxbinding3:rxbinding:3.1.0'
  128. implementation 'com.jakewharton.rxbinding3:rxbinding-core:3.1.0'
  129. implementation 'com.jakewharton.rxbinding3:rxbinding-appcompat:3.1.0'
  130. implementation 'com.jakewharton.rxbinding3:rxbinding-drawerlayout:3.1.0'
  131. implementation 'com.jakewharton.rxbinding3:rxbinding-recyclerview:3.1.0'
  132. implementation 'com.jakewharton.rxbinding3:rxbinding-swiperefreshlayout:3.1.0'
  133. implementation 'com.jakewharton.rxbinding3:rxbinding-viewpager:3.1.0'
  134. implementation 'androidx.cardview:cardview:1.0.0'
  135. implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
  136. implementation 'androidx.percentlayout:percentlayout:1.0.0'
  137. implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  138. implementation project(path: ':SpinnerDatePickerLib-release')
  139. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  140. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  141. implementation 'com.zoyi.channel:plugin-android:6.1.3'
  142. implementation 'com.patloew.rxlocation:rxlocation:1.0.5'
  143. implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
  144. implementation 'com.facebook.shimmer:shimmer:0.1.0@aar'
  145. implementation 'com.github.mukeshsolanki:android-otpview-pinview:2.1.0'
  146. implementation 'com.google.zxing:core:3.2.0'
  147. implementation 'com.google.android.gms:play-services-vision:20.1.0'
  148. implementation 'com.google.android.gms:play-services-location:17.1.0'
  149. // Import the BoM for the Firebase platform
  150. implementation platform('com.google.firebase:firebase-bom:29.0.1')
  151. implementation 'com.google.firebase:firebase-crashlytics'
  152. implementation 'com.google.firebase:firebase-analytics'
  153. implementation 'com.google.firebase:firebase-messaging'
  154. testImplementation 'junit:junit:4.12'
  155. testImplementation 'pl.pragmatists:JUnitParams:1.1.1'
  156. testImplementation "org.mockito:mockito-core:3.0.0"
  157. implementation 'androidx.biometric:biometric:1.1.0'
  158. // if persistence is not needed (Data retained in memory lost on app close)
  159. debugImplementation 'com.ashokvarma.android:gander-imdb:3.1.0'
  160. releaseImplementation 'com.ashokvarma.android:gander-no-op:3.1.0'
  161. }