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