build.gradle 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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", "\"2018041701\""
  13. buildConfigField "String", "WEB_REAL_URL", "\"https://qtalk.dreamplus.center/newgw/b/v2\""
  14. buildConfigField "String", "WEB_DEV_URL", "\"https://qtalk-dev.dreamplus.center/newgw/b/v2\""
  15. buildConfigField "String", "WEB_LOCAL_URL", "\"http://192.168.0.27:38999/b/v2\""
  16. buildConfigField "String", "REAL_URL", "\"https://qtalk.dreamplus.center/newgw/a/v2\""
  17. buildConfigField "String", "DEV_URL", "\"https://qtalk-dev.dreamplus.center/newgw/a/v2\""
  18. buildConfigField "String", "LOCAL_URL", "\"http://192.168.0.156:38999/a/v2\""
  19. buildConfigField "String", "DOWNLOAD_URL", "\"http://qtalk.dreamplus.center/downloads/\""
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  25. }
  26. debug {
  27. minifyEnabled false
  28. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  29. }
  30. }
  31. }
  32. dependencies {
  33. implementation fileTree(include: ['*.jar'], dir: 'libs')
  34. implementation 'com.android.support:appcompat-v7:26.1.0'
  35. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
  36. implementation 'com.google.firebase:firebase-messaging:11.8.0'
  37. implementation 'com.google.firebase:firebase-core:11.8.0'
  38. testImplementation 'junit:junit:4.12'
  39. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  40. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  41. compile 'com.android.support:design:26.1.0'
  42. /**
  43. * Network
  44. */
  45. compile 'com.squareup.okhttp3:okhttp:3.7.0'
  46. /**
  47. * Json
  48. */
  49. compile 'com.google.code.gson:gson:2.8.1'
  50. /**
  51. * Support
  52. */
  53. compile('com.crashlytics.sdk.android:crashlytics:2.7.0-SNAPSHOT@aar') {// Firebase Crashlytics
  54. transitive = true;
  55. }
  56. compile 'com.github.bumptech.glide:glide:3.+'
  57. }
  58. apply plugin: 'com.google.gms.google-services'