build.gradle 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. defaultConfig {
  5. minSdkVersion rootProject.ext.minSdkVersion
  6. targetSdkVersion rootProject.ext.targetSdkVersion
  7. versionCode 1
  8. versionName "1.0"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. }
  17. dependencies {
  18. api fileTree(include: ['*.jar'], dir: 'libs')
  19. //列表适配器
  20. api "com.android.support:appcompat-v7:$supportLibraryVersion"
  21. api 'com.android.support.constraint:constraint-layout:1.1.3'
  22. api "com.android.support:gridlayout-v7:$supportLibraryVersion"
  23. api "com.android.support:design:$supportLibraryVersion"
  24. api "com.android.support:support-v4:$supportLibraryVersion"
  25. api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.44'
  26. // api 'com.android.support:recyclerview-v7:28.0.0'
  27. api 'com.google.code.gson:gson:2.8.5'
  28. api 'com.github.bumptech.glide:glide:4.8.0'
  29. annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
  30. api 'com.android.support:multidex:1.0.3'
  31. api 'com.github.Jay-Goo:RangeSeekBar:v2.0.4'
  32. api 'com.google.android.exoplayer:exoplayer:2.9.3'
  33. api 'com.danikula:videocache:2.7.0'
  34. api 'com.jaeger.statusbarutil:library:1.5.1'
  35. api 'com.lzy.net:okgo:3.0.4'
  36. api 'org.greenrobot:eventbus:3.1.1'
  37. api 'com.squareup.leakcanary:leakcanary-android:1.5'
  38. }