build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. minSdkVersion 14
  6. targetSdkVersion 29
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "androidx.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 'androidx.appcompat:appcompat:1.2.0'
  21. testImplementation 'junit:junit:4.13'
  22. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  23. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  24. implementation 'com.squareup.okhttp3:okhttp:4.5.0'
  25. //网络请求log 拦截器
  26. implementation 'com.squareup.okhttp3:logging-interceptor:4.5.0'
  27. implementation 'com.squareup.okio:okio:2.6.0'
  28. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  29. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  30. implementation 'com.google.code.gson:gson:2.8.7'
  31. // implementation 'com.squareup.retrofit2:retrofit:2.5.0'
  32. api files('lib/android-xml-json.jar')
  33. implementation 'org.greenrobot:eventbus:3.1.1'
  34. }
  35. apply from: 'bintrayUpload.gradle'