build.gradle 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 "4.6.50"
  9. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  10. }
  11. sourceSets {
  12. main {
  13. assets.srcDirs = ['assets']
  14. }
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. repositories {
  23. flatDir {
  24. dirs 'libs'
  25. }
  26. google()
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(dir: 'libs', include: ['*.jar'])
  31. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  32. implementation "androidx.appcompat:appcompat:$rootProject.ext.androidxVersion"
  33. implementation "androidx.annotation:annotation:$rootProject.ext.androidxVersion"
  34. implementation "androidx.recyclerview:recyclerview:$rootProject.ext.androidxVersion"
  35. implementation 'it.sephiroth.android.library.imagezoom:library:1.0.4'
  36. implementation 'com.squareup.picasso:picasso:2.5.2'
  37. implementation 'com.github.promeg:tinypinyin:1.0.0' // ~80KB
  38. implementation 'com.google.code.gson:gson:2.8.5'
  39. implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
  40. implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8'
  41. // implementation 'tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8'
  42. implementation 'tv.danmaku.ijk.media:ijkplayer-x86:0.8.8'
  43. // implementation 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8'
  44. implementation "com.github.bumptech.glide:glide:$rootProject.ext.glideVersion"
  45. annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.ext.glideVersion"
  46. api 'com.tencent.imsdk:imsdk:4.7.2'
  47. // api project(':imsdk')
  48. }