build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 15
  6. targetSdkVersion 28
  7. versionCode 1
  8. versionName "1.0"
  9. }
  10. lintOptions {
  11. checkReleaseBuilds false
  12. abortOnError false
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. }
  21. dependencies {
  22. implementation fileTree(dir: 'libs', include: ['*.jar'])
  23. implementation 'androidx.appcompat:appcompat:1.2.0'
  24. //网络框架
  25. api 'com.lzy.net:okgo:3.0.4'
  26. //Json解析框架
  27. api 'com.google.code.gson:gson:2.8.5'
  28. //浏览器框架
  29. api 'com.tencent.tbs.tbssdk:sdk:43939'
  30. //bug上报和升级框架
  31. api 'com.tencent.bugly:crashreport_upgrade:1.4.5'
  32. //异步框架
  33. api 'org.greenrobot:eventbus:3.2.0'
  34. //图片框架
  35. api 'com.github.bumptech.glide:glide:4.11.0'
  36. annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
  37. //图片选择
  38. api 'com.yanzhenjie:album:2.1.3'
  39. //列表适配器框架
  40. api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
  41. api 'androidx.viewpager2:viewpager2:1.0.0'
  42. }