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.

174 lines
7.2 KiB

6 years ago
6 years ago
4 years ago
4 years ago
6 years ago
4 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
4 years ago
6 years ago
  1. buildscript {
  2. repositories {
  3. maven { url 'https://maven.fabric.io/public' }
  4. }
  5. dependencies {
  6. classpath 'io.fabric.tools:gradle:1.+'
  7. }
  8. }
  9. apply plugin: 'com.android.application'
  10. repositories {
  11. maven { url 'https://maven.fabric.io/public' }
  12. }
  13. apply plugin: 'io.fabric'
  14. android {
  15. compileSdkVersion 29
  16. defaultConfig {
  17. applicationId "com.swifttech.remit.android"
  18. minSdkVersion 18
  19. targetSdkVersion 29
  20. versionCode 1
  21. versionName "0.0.1"
  22. multiDexEnabled true
  23. vectorDrawables.useSupportLibrary = true
  24. manifestPlaceholders = [fileProvider: "com.swifttech.remit.android.fileprovider"]
  25. buildConfigField 'String', 'FILE_PROVIDER', '"com.swifttech.remit.android.fileprovider"'
  26. def dateTime = new Date().format("MMM_dd")
  27. setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")")
  28. }
  29. packagingOptions {
  30. exclude 'META-INF/rxjava.properties'
  31. }
  32. signingConfigs {
  33. release {
  34. keyAlias 'GmeRemitKey'
  35. keyPassword 'GmeRemit@1010'
  36. keyPassword 'GmeRemit@1010'
  37. storeFile file('../storekeys/GmeStoreKeys')
  38. storePassword 'GmeRemit@1010'
  39. }
  40. stag {
  41. keyAlias 'JPT'
  42. keyPassword 'asdfljk'
  43. storeFile file('/Users/gme_1/Android Projects/gme-android/gradlew')
  44. storePassword 'sdfgasd'
  45. }
  46. }
  47. buildTypes {
  48. release {
  49. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"'
  50. buildConfigField 'String', 'API_VERSION', '"v1"'
  51. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  52. debuggable false
  53. minifyEnabled false
  54. shrinkResources false
  55. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  56. signingConfig signingConfigs.release
  57. }
  58. livedebug {
  59. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"'
  60. buildConfigField 'String', 'API_VERSION', '"v1"'
  61. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  62. signingConfig signingConfigs.debug
  63. debuggable true
  64. minifyEnabled false
  65. shrinkResources false
  66. }
  67. stag {
  68. signingConfig signingConfigs.debug
  69. // buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5008/api/"'
  70. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"'
  71. buildConfigField 'String', 'API_VERSION', '"v1"'
  72. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  73. debuggable true
  74. minifyEnabled false
  75. shrinkResources false
  76. }
  77. dev {
  78. signingConfig signingConfigs.debug
  79. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/"'
  80. buildConfigField 'String', 'API_VERSION', '"v1"'
  81. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  82. debuggable true
  83. minifyEnabled false
  84. shrinkResources false
  85. }
  86. generic {
  87. signingConfig signingConfigs.debug
  88. buildConfigField 'String', 'BASE_URL', '"http://103.139.152.11:5555/api/"'
  89. buildConfigField 'String', 'API_VERSION', '"v1"'
  90. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  91. debuggable true
  92. minifyEnabled false
  93. shrinkResources false
  94. }
  95. jme {
  96. signingConfig signingConfigs.debug
  97. buildConfigField 'String', 'BASE_URL', '"http://203.223.132.110:9093/api/"'
  98. buildConfigField 'String', 'API_VERSION', '"v1"'
  99. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  100. debuggable true
  101. minifyEnabled false
  102. shrinkResources false
  103. }
  104. }
  105. compileOptions {
  106. sourceCompatibility JavaVersion.VERSION_1_8
  107. targetCompatibility JavaVersion.VERSION_1_8
  108. }
  109. }
  110. dependencies {
  111. implementation fileTree(include: ['*.jar'], dir: 'libs')
  112. //noinspection GradleCompatible
  113. implementation 'androidx.appcompat:appcompat:1.1.0'
  114. implementation 'com.google.android.material:material:1.1.0'
  115. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta7'
  116. implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
  117. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  118. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  119. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  120. implementation 'com.google.firebase:firebase-core:17.4.3'
  121. implementation 'com.github.bumptech.glide:glide:4.9.0'
  122. implementation 'de.hdodenhof:circleimageview:2.2.0'
  123. implementation 'com.jakewharton:butterknife:10.2.0'
  124. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
  125. implementation 'id.zelory:compressor:2.1.0'
  126. implementation 'androidx.multidex:multidex:2.0.1'
  127. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  128. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  129. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  130. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  131. implementation 'com.jakewharton.rxbinding3:rxbinding:3.1.0'
  132. implementation 'com.jakewharton.rxbinding3:rxbinding-core:3.1.0'
  133. implementation 'com.jakewharton.rxbinding3:rxbinding-appcompat:3.1.0'
  134. implementation 'com.jakewharton.rxbinding3:rxbinding-drawerlayout:3.1.0'
  135. implementation 'com.jakewharton.rxbinding3:rxbinding-recyclerview:3.1.0'
  136. implementation 'com.jakewharton.rxbinding3:rxbinding-swiperefreshlayout:3.1.0'
  137. implementation 'com.jakewharton.rxbinding3:rxbinding-viewpager:3.1.0'
  138. implementation 'androidx.cardview:cardview:1.0.0'
  139. implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
  140. implementation 'androidx.percentlayout:percentlayout:1.0.0'
  141. implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  142. implementation project(path: ':SpinnerDatePickerLib-release')
  143. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  144. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  145. implementation 'com.zoyi.channel:plugin-android:6.1.3'
  146. implementation 'com.patloew.rxlocation:rxlocation:1.0.5'
  147. implementation 'com.google.android.gms:play-services-location:17.0.0'
  148. implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
  149. implementation 'com.facebook.shimmer:shimmer:0.1.0@aar'
  150. implementation 'com.github.mukeshsolanki:android-otpview-pinview:2.1.0'
  151. implementation 'com.google.zxing:core:3.2.0'
  152. implementation 'com.google.android.gms:play-services-vision:20.1.0'
  153. testImplementation 'junit:junit:4.12'
  154. testImplementation 'pl.pragmatists:JUnitParams:1.1.1'
  155. testImplementation "org.mockito:mockito-core:3.0.0"
  156. implementation project(path: ':rxbiometric')
  157. debugImplementation "com.github.ChuckerTeam.Chucker:library:3.0.1"
  158. releaseImplementation "com.github.ChuckerTeam.Chucker:library-no-op:3.0.1"
  159. }