build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. defaultConfig {
  7. minSdkVersion 16
  8. targetSdkVersion 26
  9. }
  10. buildTypes {
  11. all {
  12. ndk {
  13. abiFilters 'armeabi-v7a'
  14. }
  15. }
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. releaseSimon.initWith(release)
  21. releaseSimon {
  22. }
  23. }
  24. compileOptions {
  25. sourceCompatibility JavaVersion.VERSION_1_8
  26. targetCompatibility JavaVersion.VERSION_1_8
  27. }
  28. }
  29. dependencies {
  30. implementation "androidx.annotation:annotation:1.3.0"
  31. api "com.google.android.exoplayer:exoplayer-core:2.14.2"
  32. api "com.google.android.exoplayer:exoplayer-dash:2.14.2"
  33. api "com.google.android.exoplayer:exoplayer-hls:2.14.2"
  34. api "com.google.android.exoplayer:exoplayer-rtsp:2.14.2"
  35. api "com.google.android.exoplayer:extension-rtmp:2.14.2"
  36. api "com.google.android.exoplayer:extension-okhttp:2.14.2"
  37. api 'xyz.doikki.android.dkplayer:dkplayer-ui:3.3.5'
  38. }