[go: nahoru, domu]

blob: b8e045cd9552ba1c6ef228e0f4f940c1db9a5de5 [file] [log] [blame]
Aurimas Liutikas6b7a4992018-06-06 16:07:02 -07001import androidx.build.LibraryGroups
2import androidx.build.LibraryVersions
3
Andrew Lewis5a4d3dc2018-09-17 14:18:34 +01004import static androidx.build.dependencies.DependenciesKt.CHECKER_FRAMEWORK
Aurimas Liutikas3f9ceb62018-07-10 11:57:16 -07005import static androidx.build.dependencies.DependenciesKt.ESPRESSO_CORE
Sergey Vasilinetsc546c842018-09-20 15:14:42 -07006import static androidx.build.dependencies.DependenciesKt.GUAVA_LISTENABLE_FUTURE
Aurimas Liutikas3f9ceb62018-07-10 11:57:16 -07007import static androidx.build.dependencies.DependenciesKt.TEST_RULES
8import static androidx.build.dependencies.DependenciesKt.TEST_RUNNER
Hyundo Moon999d7142018-06-19 14:30:19 +09009
Aurimas Liutikas6b7a4992018-06-06 16:07:02 -070010plugins {
11 id("SupportAndroidLibraryPlugin")
12}
13
14dependencies {
Hyundo Moon999d7142018-06-19 14:30:19 +090015 api(project(":media"))
Nick Anthonyb9925c32018-11-20 20:06:23 -050016 api('androidx.versionedparcelable:versionedparcelable:1.1.0-alpha01')
Sergey Vasilinetsc546c842018-09-20 15:14:42 -070017 api(GUAVA_LISTENABLE_FUTURE)
18 implementation(project(":concurrent:concurrent-futures"))
Andrew Lewis5a4d3dc2018-09-17 14:18:34 +010019 compileOnly(CHECKER_FRAMEWORK)
Andrew Lewis6b4afef2018-08-02 12:01:52 +010020 // Depend on media2-exoplayer so that the library groupId is set to match media2.
21 implementation(project(":media2-exoplayer"))
Hyundo Moon999d7142018-06-19 14:30:19 +090022
Aurimas Liutikas3f9ceb62018-07-10 11:57:16 -070023 androidTestImplementation(TEST_RUNNER)
24 androidTestImplementation(TEST_RULES)
25 androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
Hyundo Moon999d7142018-06-19 14:30:19 +090026 androidTestImplementation project(':internal-testutils')
Insun Kang5834ff52018-06-13 09:22:31 -070027 annotationProcessor(project(":versionedparcelable-annotation"))
Aurimas Liutikas6b7a4992018-06-06 16:07:02 -070028}
29
30supportLibrary {
31 name = "AndroidX media2 library"
32 publish = true
Aurimas Liutikasa97ea032018-06-18 15:07:04 -070033 mavenVersion = LibraryVersions.MEDIA2
Aurimas Liutikas6b7a4992018-06-06 16:07:02 -070034 mavenGroup = LibraryGroups.MEDIA2
35 inceptionYear = "2018"
36 description = "Media2"
Hyundo Moon999d7142018-06-19 14:30:19 +090037 failOnUncheckedWarnings = false
38 failOnDeprecationWarnings = false
Aurimas Liutikas6b7a4992018-06-06 16:07:02 -070039}