build.gradle 2.1 KB

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