build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. implementation "com.android.support:appcompat-v7:$appcompatVersion"
  24. annotationProcessor "com.jakewharton:butterknife-compiler:$butterknifeVersion"
  25. implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
  26. implementation "com.squareup.okhttp3:logging-interceptor:$logginginterceptor"
  27. implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  28. implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
  29. implementation "io.reactivex.rxjava2:rxandroid:$rxandroidVersion"
  30. implementation "io.reactivex.rxjava2:rxjava:$rxjavaVersion"
  31. }