| import static androidx.build.dependencies.DependenciesKt.* |
| import androidx.build.LibraryGroups |
| import androidx.build.LibraryVersions |
| import androidx.build.Publish |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| } |
| |
| dependencies { |
| api(project(":media")) |
| api(project(":concurrent-listenablefuture")) |
| implementation(project(":concurrent-listenablefuture-callback")) |
| implementation("androidx.collection:collection:1.0.0") |
| compileOnly(CHECKER_FRAMEWORK) |
| |
| androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| androidTestImplementation(ANDROIDX_TEST_CORE) |
| androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
| androidTestImplementation project(':internal-testutils') |
| annotationProcessor(project(":versionedparcelable-annotation")) |
| } |
| |
| android { |
| defaultConfig { |
| minSdkVersion 19 |
| } |
| } |
| |
| androidx { |
| name = "AndroidX media2 common library" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| mavenVersion = LibraryVersions.MEDIA2_COMMON |
| mavenGroup = LibraryGroups.MEDIA2 |
| inceptionYear = "2018" |
| description = "Media2 Common" |
| // TODO: Remove these (b/130838274) |
| failOnDeprecationWarnings = false |
| trackRestrictedAPIs = false // TODO: Remove it (b/131561173) |
| } |