build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 27
  4. defaultConfig {
  5. applicationId "com.sunzee.cleanMachine"
  6. minSdkVersion 14
  7. targetSdkVersion 27
  8. versionCode 1
  9. }
  10. }
  11. ext {
  12. androidutilsVersion = '1.0.6'
  13. appcompatVersion = '27.1.0'
  14. butterknifeVersion = '8.4.0'
  15. retrofitVersion = '2.3.0'
  16. logginginterceptor = '3.9.1'
  17. rxjavaVersion = '2.1.11'
  18. rxandroidVersion = "2.0.2"
  19. }
  20. dependencies {
  21. implementation fileTree(include: ['*.jar'], dir: 'libs')
  22. implementation "com.wuxiaolong.androidutils:androidutils:$androidutilsVersion"
  23. //noinspection GradleCompatible,GradleDependency
  24. implementation "com.android.support:appcompat-v7:$appcompatVersion"
  25. //黄油刀
  26. annotationProcessor "com.jakewharton:butterknife-compiler:$butterknifeVersion"
  27. //retrofit2
  28. implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
  29. implementation "com.squareup.okhttp3:logging-interceptor:$logginginterceptor"
  30. implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  31. implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
  32. //rxjava
  33. implementation "io.reactivex.rxjava2:rxandroid:$rxandroidVersion"
  34. implementation "io.reactivex.rxjava2:rxjava:$rxjavaVersion"
  35. implementation "com.android.support:design:27.1.1"
  36. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  37. }