build.gradle 1010 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. group 'com.ryanheise.just_audio'
  2. version '1.0'
  3. buildscript {
  4. repositories {
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:3.5.0'
  10. }
  11. }
  12. rootProject.allprojects {
  13. repositories {
  14. google()
  15. jcenter()
  16. }
  17. }
  18. apply plugin: 'com.android.library'
  19. android {
  20. compileSdkVersion 28
  21. defaultConfig {
  22. minSdkVersion 16
  23. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  24. }
  25. lintOptions {
  26. disable 'InvalidPackage'
  27. }
  28. compileOptions {
  29. sourceCompatibility 1.8
  30. targetCompatibility 1.8
  31. }
  32. }
  33. dependencies {
  34. implementation 'com.google.android.exoplayer:exoplayer-core:2.11.7'
  35. implementation 'com.google.android.exoplayer:exoplayer-dash:2.11.7'
  36. implementation 'com.google.android.exoplayer:exoplayer-hls:2.11.7'
  37. implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.11.7'
  38. compile files('libs/extension-flac.aar')
  39. }