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