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.

161 lines
6.4 KiB

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