build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 14
  6. targetSdkVersion 28
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. dependencies {
  19. implementation fileTree(include: ['*.jar'], dir: 'libs')
  20. implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
  21. testImplementation 'junit:junit:4.12'
  22. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  23. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  24. implementation 'com.squareup.okhttp3:okhttp:3.10.0'
  25. //网络请求log 拦截器
  26. implementation 'com.squareup.okhttp3:logging-interceptor:3.9.0'
  27. implementation 'com.squareup.okio:okio:1.14.0'
  28. implementation 'io.reactivex.rxjava2:rxjava:2.1.4'
  29. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  30. implementation 'com.google.code.gson:gson:2.8.5'
  31. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  32. api files('lib/android-xml-json.jar')
  33. }
  34. apply from: 'bintrayUpload.gradle'