build.gradle 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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.hifive"
  7. minSdkVersion 21
  8. targetSdkVersion 25
  9. versionCode 1
  10. versionName '1.3.1'
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. multiDexEnabled true
  13. buildConfigField "String", "REVISION", "\"2018071901\""
  14. buildConfigField "String", "RC", "\"rc7\""
  15. buildConfigField "String", "WEB_REAL_URL", "\"https://qtalk.dreamplus.center/newgw/b/v2\""
  16. buildConfigField "String", "WEB_DEV_URL", "\"https://qtalk-dev.dreamplus.center/newgw/b/v2\""
  17. buildConfigField "String", "WEB_LOCAL_URL", "\"http://192.168.0.27:38999/b/v2\""
  18. buildConfigField "String", "REAL_URL", "\"https://qtalk.dreamplus.center/newgw/a/v2\""
  19. buildConfigField "String", "DEV_URL", "\"https://qtalk-dev.dreamplus.center/newgw/a/v2\""
  20. buildConfigField "String", "LOCAL_URL", "\"http://192.168.0.38:38999/a/v2\""
  21. buildConfigField "String", "DOWNLOAD_URL", "\"http://qtalk.dreamplus.center/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:26.1.0'
  37. // implementation 'com.android.support:design:26.1.0'
  38. implementation 'com.android.support:appcompat-v7:27.1.1'
  39. implementation 'com.android.support:design:27.1.1'
  40. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
  41. implementation 'com.google.firebase:firebase-messaging:11.8.0'
  42. implementation 'com.google.firebase:firebase-core:11.8.0'
  43. /**
  44. * Test Unit
  45. */
  46. testImplementation 'junit:junit:4.12'
  47. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  48. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  49. // compile 'com.android.support:design:26.1.0'
  50. /**
  51. * Network
  52. */
  53. implementation 'com.squareup.okhttp3:okhttp:3.7.0'
  54. /**
  55. * Json
  56. */
  57. implementation 'com.google.code.gson:gson:2.8.1'
  58. /**
  59. * Support
  60. */
  61. implementation('com.crashlytics.sdk.android:crashlytics:2.7.0-SNAPSHOT@aar') {// Firebase Crashlytics
  62. transitive = true;
  63. }
  64. implementation 'com.github.bumptech.glide:glide:4.7.1'
  65. }
  66. apply plugin: 'com.google.gms.google-services'