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.

169 lines
7.4 KiB

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
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 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 28
  16. defaultConfig {
  17. applicationId "com.gmeremit.online.gmeremittance_native"
  18. minSdkVersion 18
  19. targetSdkVersion 28
  20. versionCode 32
  21. versionName "3.0.4"
  22. multiDexEnabled true
  23. vectorDrawables.useSupportLibrary = true
  24. def dateTime = new Date().format("MMM_dd")
  25. setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")")
  26. }
  27. packagingOptions {
  28. exclude 'META-INF/rxjava.properties'
  29. }
  30. signingConfigs {
  31. release {
  32. keyAlias 'GmeRemitKey'
  33. keyPassword 'GmeRemit@1010'
  34. keyPassword 'GmeRemit@1010'
  35. storeFile file('../storekeys/GmeStoreKeys')
  36. storePassword 'GmeRemit@1010'
  37. }
  38. stag {
  39. keyAlias 'JPT'
  40. keyPassword 'asdfljk'
  41. storeFile file('/Users/gme_1/Android Projects/gme-android/gradlew')
  42. storePassword 'sdfgasd'
  43. }
  44. }
  45. buildTypes {
  46. release {
  47. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  48. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"'
  49. buildConfigField 'String', 'API_VERSION', '"v1"'
  50. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  51. debuggable false
  52. minifyEnabled false
  53. shrinkResources false
  54. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  55. signingConfig signingConfigs.release
  56. }
  57. livedebug {
  58. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  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. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  69. // applicationIdSuffix ".stag"
  70. signingConfig signingConfigs.debug
  71. // buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5008/api/"'
  72. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/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. dev {
  80. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  81. // applicationIdSuffix ".uat"
  82. signingConfig signingConfigs.debug
  83. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/"'
  84. buildConfigField 'String', 'API_VERSION', '"v1"'
  85. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  86. debuggable true
  87. minifyEnabled false
  88. shrinkResources false
  89. }
  90. livetest {
  91. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  92. buildConfigField 'String', 'BASE_URL', '"http://livetest.gmeremit.com:8012/api/"'
  93. buildConfigField 'String', 'API_VERSION', '"v1"'
  94. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  95. debuggable false
  96. minifyEnabled false
  97. shrinkResources false
  98. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  99. signingConfig signingConfigs.release
  100. }
  101. }
  102. compileOptions {
  103. sourceCompatibility JavaVersion.VERSION_1_8
  104. targetCompatibility JavaVersion.VERSION_1_8
  105. }
  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.0.0'
  112. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta3'
  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.google.firebase:firebase-core:16.0.4'
  118. implementation 'com.google.firebase:firebase-messaging:17.3.3'
  119. implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
  120. implementation 'com.github.bumptech.glide:glide:4.9.0'
  121. implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.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.0.1'
  130. implementation 'io.reactivex.rxjava2:rxjava:2.1.0'
  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 'androidx.percentlayout:percentlayout:1.0.0'
  140. implementation 'com.github.kapilmhr:TextDrawable:1.0.1'
  141. implementation 'com.squareup.picasso:picasso:2.71828'
  142. implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
  143. implementation 'com.scottyab:rootbeer-lib:0.0.7'
  144. implementation 'com.mtramin:rxfingerprint:2.2.1'
  145. implementation "androidx.lifecycle:lifecycle-extensions:2.1.0"
  146. implementation project(':securitykeypad')
  147. implementation project(path: ':SpinnerDatePickerLib-release')
  148. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  149. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  150. implementation 'com.zoyi.channel:plugin-android:6.1.3'
  151. implementation 'com.patloew.rxlocation:rxlocation:1.0.5'
  152. implementation 'com.google.android.gms:play-services-location:17.0.0'
  153. implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
  154. testImplementation 'junit:junit:4.12'
  155. testImplementation 'pl.pragmatists:JUnitParams:1.1.1'
  156. testImplementation "org.mockito:mockito-core:3.0.0"
  157. }
  158. apply plugin: 'com.google.gms.google-services'