build.gradle 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 25
  9. versionCode 1
  10. versionName '1.2.0'
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. multiDexEnabled true
  13. buildConfigField "String", "REVISION", "\"2018061101\""
  14. buildConfigField "String", "RC", "\"rc5\""
  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.156: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. testImplementation 'junit:junit:4.12'
  44. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  45. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  46. // compile 'com.android.support:design:26.1.0'
  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'