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.

130 lines
4.9 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
  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 5
  21. versionName "1.0.0"
  22. multiDexEnabled true
  23. vectorDrawables.useSupportLibrary = true
  24. // ndk {
  25. // abiFilters 'armeabi', 'x86'
  26. // }
  27. def dateTime = new Date().format("MMM_dd")
  28. setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")")
  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. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/v1/"'
  48. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  49. debuggable false
  50. minifyEnabled true
  51. shrinkResources true
  52. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  53. signingConfig signingConfigs.release
  54. }
  55. debug {
  56. buildConfigField 'String', 'BASE_URL', '"https://mobileapi.gmeremit.com:8002/api/v1/"'
  57. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  58. signingConfig signingConfigs.debug
  59. debuggable true
  60. minifyEnabled false
  61. shrinkResources false
  62. }
  63. stag {
  64. signingConfig signingConfigs.debug
  65. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5022/api/v1/"'
  66. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  67. debuggable true
  68. minifyEnabled false
  69. shrinkResources false
  70. }
  71. dev {
  72. signingConfig signingConfigs.debug
  73. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/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. }
  80. compileOptions {
  81. sourceCompatibility JavaVersion.VERSION_1_8
  82. targetCompatibility JavaVersion.VERSION_1_8
  83. }
  84. }
  85. dependencies {
  86. implementation fileTree(include: ['*.jar'], dir: 'libs')
  87. //noinspection GradleCompatible
  88. implementation 'com.android.support:appcompat-v7:28.0.0'
  89. implementation 'com.android.support:design:28.0.0'
  90. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  91. implementation 'com.android.support:support-vector-drawable:28.0.0'
  92. implementation 'com.android.support:support-v4:28.0.0'
  93. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  94. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  95. implementation 'com.google.firebase:firebase-core:16.0.4'
  96. implementation 'com.google.firebase:firebase-messaging:17.3.3'
  97. implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
  98. implementation 'com.github.kapilmhr:AlphabetIndexFastScrollRecyclerview:1.0.0'
  99. implementation 'com.github.kapilmhr:DesignToPDF:1.0'
  100. implementation 'com.github.kapilmhr:TextDrawable:1.0.1'
  101. implementation 'com.shehabic.droppy:Droppy:0.6.0@aar'
  102. implementation 'com.github.bumptech.glide:glide:3.8.0'
  103. implementation 'com.squareup.picasso:picasso:2.71828'
  104. implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.0'
  105. implementation 'com.github.kapilmhr:SizesDP:1.1'
  106. implementation 'de.hdodenhof:circleimageview:2.2.0'
  107. implementation 'com.jakewharton:butterknife:8.8.1'
  108. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  109. implementation 'id.zelory:compressor:2.1.0'
  110. implementation 'com.android.support:multidex:1.0.3'
  111. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  112. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  113. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  114. implementation 'io.reactivex.rxjava2:rxjava:2.1.0'
  115. implementation 'com.android.support:percent:28.0.0'
  116. implementation 'com.android.support:cardview-v7:28.0.0'
  117. implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
  118. implementation project(':SpinnerDatePickerLib-release')
  119. }
  120. apply plugin: 'com.google.gms.google-services'