build.gradle 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. apply plugin: 'com.android.application'
  2. //apply plugin: 'io.fabric'// Firebase Crashlytics
  3. android {
  4. compileSdkVersion 27
  5. defaultConfig {
  6. applicationId "kr.co.hanwha.hifiveadmin"
  7. minSdkVersion 21
  8. targetSdkVersion 25
  9. versionCode 1
  10. versionName '1.3.0'
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. multiDexEnabled true
  13. buildConfigField "String", "REVISION", "\"2018071601\""
  14. buildConfigField "String", "RC", "\"rc7\""
  15. buildConfigField "String", "WEB_REAL_URL", "\"https://qtalk.hanwhalife.com/newgw/b/v2\""
  16. buildConfigField "String", "WEB_DEV_URL", "\"https://qtalk-dev.hanwhalife.com/newgw/b/v2\""
  17. buildConfigField "String", "WEB_LOCAL_URL", "\"http://192.168.0.27:38999/b/v2\""
  18. buildConfigField "String", "REAL_URL", "\"https://qtalk.hanwhalife.com/newgw/a/v2\""
  19. buildConfigField "String", "DEV_URL", "\"https://qtalk-dev.hanwhalife.com/newgw/a/v2\""
  20. buildConfigField "String", "LOCAL_URL", "\"http://192.168.0.38:38999/a/v2\""
  21. buildConfigField "String", "DOWNLOAD_URL", "\"http://qtalk.hanwhalife.com/downloads/\""
  22. }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  27. }
  28. debug {
  29. minifyEnabled false
  30. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  31. }
  32. }
  33. }
  34. dependencies {
  35. implementation fileTree(include: ['*.jar'], dir: 'libs')
  36. implementation 'com.android.support:appcompat-v7:27.1.1'
  37. implementation 'com.android.support:design:27.1.1'
  38. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
  39. // implementation 'com.google.firebase:firebase-messaging:11.8.0'
  40. // implementation 'com.google.firebase:firebase-core:11.8.0'
  41. /**
  42. * Test Unit
  43. */
  44. testImplementation 'junit:junit:4.12'
  45. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  46. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  47. /**
  48. * Network
  49. */
  50. implementation 'com.squareup.okhttp3:okhttp:3.7.0'
  51. /**
  52. * Json
  53. */
  54. implementation 'com.google.code.gson:gson:2.8.1'
  55. /**
  56. * Support
  57. */
  58. // implementation('com.crashlytics.sdk.android:crashlytics:2.7.0-SNAPSHOT@aar') {// Firebase Crashlytics
  59. // transitive = true;
  60. // }
  61. implementation 'com.github.bumptech.glide:glide:4.7.1'
  62. }
  63. //apply plugin: 'com.google.gms.google-services'