blob: d3afeab2a4f145c9a8db17543ae1d708a495883b [file] [log] [blame]
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import static androidx.build.dependencies.DependenciesKt.*
plugins {
id("SupportAndroidLibraryPlugin")
}
dependencies {
api(project(":media"))
api(GUAVA_LISTENABLE_FUTURE)
implementation(project(":concurrent:concurrent-futures"))
implementation("androidx.collection:collection:1.0.0")
compileOnly(CHECKER_FRAMEWORK)
// Depend on media2-exoplayer so that the library groupId is set to match media2.
implementation(project(":media2-exoplayer"))
androidTestImplementation(TEST_EXT_JUNIT)
androidTestImplementation(TEST_CORE)
androidTestImplementation(TEST_RUNNER)
androidTestImplementation(TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation project(':internal-testutils')
annotationProcessor(project(":versionedparcelable-annotation"))
}
android {
lintOptions {
// Lint bug causes the BanTargetApiAnnotation lint check to crash in this project.
// remove when b/120615476 is fixed.
disable("BanTargetApiAnnotation")
}
defaultConfig {
minSdkVersion 19
}
}
supportLibrary {
name = "AndroidX media2 library"
publish = true
mavenVersion = LibraryVersions.MEDIA2
mavenGroup = LibraryGroups.MEDIA2
inceptionYear = "2018"
description = "Media2"
failOnUncheckedWarnings = false
failOnDeprecationWarnings = false
trackRestrictedAPIs = false
}