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.

123 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
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 27
  16. defaultConfig {
  17. applicationId "com.gmeremit.online.gmeremittance_native"
  18. minSdkVersion 15
  19. targetSdkVersion 27
  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")
  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', '"http://121.156.120.71:5001/api/v1/"'
  42. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/v1/"'
  43. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  44. signingConfig signingConfigs.debug
  45. debuggable true
  46. minifyEnabled false
  47. shrinkResources false
  48. }
  49. stag {
  50. signingConfig signingConfigs.debug
  51. buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5011/api/v1/"'
  52. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  53. debuggable true
  54. minifyEnabled false
  55. shrinkResources false
  56. }
  57. uat {
  58. signingConfig signingConfigs.debug
  59. buildConfigField 'String', 'BASE_URL', '"http://116.66.197.118:1235/api/v1/"'
  60. buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"'
  61. debuggable true
  62. minifyEnabled false
  63. shrinkResources false
  64. }
  65. }
  66. compileOptions {
  67. sourceCompatibility JavaVersion.VERSION_1_8
  68. targetCompatibility JavaVersion.VERSION_1_8
  69. }
  70. }
  71. dependencies {
  72. implementation fileTree(include: ['*.jar'], dir: 'libs')
  73. //noinspection GradleCompatible
  74. implementation 'com.android.support:appcompat-v7:27.1.1'
  75. implementation 'com.android.support:design:27.1.1'
  76. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  77. implementation 'com.android.support:support-vector-drawable:27.1.1'
  78. implementation 'com.android.support:support-v4:27.1.1'
  79. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  80. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  81. implementation 'com.github.yalantis:ucrop:2.2.2'
  82. implementation 'com.google.firebase:firebase-core:11.8.0'
  83. implementation 'com.google.firebase:firebase-messaging:11.8.0'
  84. implementation 'com.crashlytics.sdk.android:crashlytics:2.9.3'
  85. implementation 'com.github.kapilmhr:AlphabetIndexFastScrollRecyclerview:1.0.0'
  86. implementation 'com.github.kapilmhr:DesignToPDF:1.0'
  87. implementation 'com.github.kapilmhr:TextDrawable:1.0.1'
  88. implementation 'com.shehabic.droppy:Droppy:0.6.0@aar'
  89. implementation 'com.github.bumptech.glide:glide:3.8.0'
  90. implementation 'com.squareup.picasso:picasso:2.71828'
  91. implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.0'
  92. implementation 'com.github.kapilmhr:SizesDP:1.1'
  93. implementation 'de.hdodenhof:circleimageview:2.2.0'
  94. implementation 'com.facebook.android:facebook-share:[4,5)'
  95. // compile group: 'com.zendesk', name: 'sdk', version: '1.10.0.1'
  96. implementation 'joda-time:joda-time:2.9.9'
  97. implementation 'com.jakewharton:butterknife:8.8.1'
  98. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  99. implementation 'id.zelory:compressor:2.1.0'
  100. implementation 'com.zxy.android:tiny:0.1.0'
  101. implementation 'com.android.support:multidex:1.0.3'
  102. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  103. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  104. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  105. implementation 'io.reactivex.rxjava2:rxjava:2.1.0'
  106. implementation 'org.greenrobot:eventbus:3.1.1'
  107. implementation 'com.android.support:percent:27.1.1'
  108. implementation 'com.android.support:cardview-v7:27.1.1'
  109. implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
  110. }
  111. apply plugin: 'com.google.gms.google-services'