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.

160 lines
6.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
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 15
  21. versionName "2.1.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. ndk {
  27. abiFilters "armeabi-v7a", "x86"
  28. }
  29. }
  30. packagingOptions {
  31. exclude 'META-INF/rxjava.properties'
  32. }
  33. signingConfigs {
  34. release {
  35. keyAlias 'GmeRemitKey'
  36. keyPassword 'GmeRemit@1010'
  37. keyPassword 'GmeRemit@1010'
  38. storeFile file('../storekeys/GmeStoreKeys')
  39. storePassword 'GmeRemit@1010'
  40. }
  41. stag {
  42. keyAlias 'JPT'
  43. keyPassword 'asdfljk'
  44. storeFile file('/Users/gme_1/Android Projects/gme-android/gradlew')
  45. storePassword 'sdfgasd'
  46. }
  47. }
  48. buildTypes {
  49. release {
  50. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  51. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"'
  52. buildConfigField 'String', 'API_VERSION', '"v1"'
  53. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  54. debuggable false
  55. minifyEnabled true
  56. shrinkResources true
  57. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  58. signingConfig signingConfigs.release
  59. }
  60. debug {
  61. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  62. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/"'
  63. buildConfigField 'String', 'API_VERSION', '"v1"'
  64. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  65. signingConfig signingConfigs.debug
  66. debuggable true
  67. minifyEnabled false
  68. shrinkResources false
  69. }
  70. stag {
  71. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  72. // applicationIdSuffix ".stag"
  73. signingConfig signingConfigs.debug
  74. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"'
  75. buildConfigField 'String', 'API_VERSION', '"v1"'
  76. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  77. debuggable true
  78. minifyEnabled false
  79. shrinkResources false
  80. }
  81. dev {
  82. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  83. // applicationIdSuffix ".uat"
  84. signingConfig signingConfigs.debug
  85. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"'
  86. buildConfigField 'String', 'API_VERSION', '"v1"'
  87. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  88. debuggable true
  89. minifyEnabled false
  90. shrinkResources false
  91. }
  92. kftc {
  93. manifestPlaceholders.fileProvider = "com.gmeremit.online.gmeremittance_native.fileprovider"
  94. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/"'
  95. buildConfigField 'String', 'API_VERSION', '"v1"'
  96. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  97. debuggable false
  98. minifyEnabled true
  99. shrinkResources true
  100. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  101. signingConfig signingConfigs.release
  102. lintOptions {
  103. disable 'MissingTranslation'
  104. checkReleaseBuilds false
  105. abortOnError false
  106. }
  107. }
  108. }
  109. compileOptions {
  110. sourceCompatibility JavaVersion.VERSION_1_8
  111. targetCompatibility JavaVersion.VERSION_1_8
  112. }
  113. }
  114. dependencies {
  115. implementation fileTree(include: ['*.jar'], dir: 'libs')
  116. //noinspection GradleCompatible
  117. implementation 'com.android.support:appcompat-v7:28.0.0'
  118. implementation 'com.android.support:design:28.0.0'
  119. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  120. implementation 'com.android.support:support-vector-drawable:28.0.0'
  121. implementation 'com.android.support:support-v4:28.0.0'
  122. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  123. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  124. implementation 'com.google.firebase:firebase-core:16.0.4'
  125. implementation 'com.google.firebase:firebase-messaging:17.3.3'
  126. implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
  127. implementation 'com.github.kapilmhr:AlphabetIndexFastScrollRecyclerview:1.0.0'
  128. implementation 'com.github.kapilmhr:DesignToPDF:1.0'
  129. implementation 'com.github.kapilmhr:TextDrawable:1.0.1'
  130. implementation 'com.shehabic.droppy:Droppy:0.6.0@aar'
  131. implementation 'com.github.bumptech.glide:glide:3.8.0'
  132. implementation 'com.squareup.picasso:picasso:2.71828'
  133. implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.0'
  134. implementation 'com.github.kapilmhr:SizesDP:1.1'
  135. implementation 'de.hdodenhof:circleimageview:2.2.0'
  136. implementation 'com.jakewharton:butterknife:8.8.1'
  137. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  138. implementation 'id.zelory:compressor:2.1.0'
  139. implementation 'com.android.support:multidex:1.0.3'
  140. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  141. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  142. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  143. implementation 'io.reactivex.rxjava2:rxjava:2.1.0'
  144. implementation 'com.android.support:percent:28.0.0'
  145. implementation 'com.android.support:cardview-v7:28.0.0'
  146. implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
  147. implementation 'com.scottyab:rootbeer-lib:0.0.7'
  148. implementation 'com.mtramin:rxfingerprint:2.2.1'
  149. implementation project(':securitykeypad')
  150. implementation project(path: ':SpinnerDatePickerLib-release')
  151. }
  152. apply plugin: 'com.google.gms.google-services'