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.

114 lines
4.2 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
  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 26
  16. defaultConfig {
  17. applicationId "com.gmeremit.online.gmeremittance_native"
  18. minSdkVersion 15
  19. targetSdkVersion 26
  20. versionCode 1
  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_HH");
  28. setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")")
  29. }
  30. buildTypes {
  31. release {
  32. buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:9091/api/v1/"'
  33. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  34. debuggable false
  35. minifyEnabled true
  36. shrinkResources true
  37. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  38. }
  39. debug {
  40. buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:9091/api/v1/"'
  41. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  42. signingConfig signingConfigs.debug
  43. debuggable true
  44. minifyEnabled false
  45. shrinkResources false
  46. }
  47. stag{
  48. signingConfig signingConfigs.debug
  49. buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:9091/api/v1/"'
  50. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  51. debuggable true
  52. minifyEnabled false
  53. shrinkResources false
  54. }
  55. uat{
  56. signingConfig signingConfigs.debug
  57. buildConfigField 'String', 'BASE_URL', '"http://116.66.197.118:1235/api/v1/"'
  58. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  59. debuggable true
  60. minifyEnabled false
  61. shrinkResources false
  62. }
  63. }
  64. }
  65. dependencies {
  66. implementation fileTree(dir: 'libs', include: ['*.jar'])
  67. //noinspection GradleCompatible
  68. implementation 'com.android.support:appcompat-v7:26.1.0'
  69. implementation 'com.android.support:design:26.1.0'
  70. implementation 'com.android.support.constraint:constraint-layout:1.1.0'
  71. implementation 'com.android.support:support-vector-drawable:26.1.0'
  72. implementation 'com.android.support:support-v4:26.1.0'
  73. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  74. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  75. implementation 'com.github.yalantis:ucrop:2.2.1'
  76. implementation 'com.google.firebase:firebase-core:11.8.0'
  77. implementation 'com.google.firebase:firebase-messaging:11.8.0'
  78. implementation 'com.crashlytics.sdk.android:crashlytics:2.9.3'
  79. implementation 'com.github.kapilmhr:AlphabetIndexFastScrollRecyclerview:1.0.0'
  80. implementation 'com.github.kapilmhr:DesignToPDF:1.0'
  81. implementation 'com.github.kapilmhr:TextDrawable:1.0.1'
  82. implementation 'com.shehabic.droppy:Droppy:0.6.0@aar'
  83. implementation 'com.github.bumptech.glide:glide:3.8.0'
  84. implementation 'com.squareup.picasso:picasso:2.71828'
  85. implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.0'
  86. implementation 'com.github.kapilmhr:SizesDP:1.1'
  87. implementation 'de.hdodenhof:circleimageview:2.2.0'
  88. implementation 'com.facebook.android:facebook-share:[4,5)'
  89. // compile group: 'com.zendesk', name: 'sdk', version: '1.10.0.1'
  90. implementation 'joda-time:joda-time:2.9.9'
  91. implementation 'com.jakewharton:butterknife:8.8.1'
  92. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  93. implementation 'id.zelory:compressor:2.1.0'
  94. implementation 'com.zxy.android:tiny:0.1.0'
  95. implementation 'com.android.support:multidex:1.0.3'
  96. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  97. implementation 'org.greenrobot:eventbus:3.1.1'
  98. }
  99. apply plugin: 'com.google.gms.google-services'