build.gradle 1.2 KB

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