build.gradle 2.4 KB

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