Aurimas Liutikas | 6b7a499 | 2018-06-06 16:07:02 -0700 | [diff] [blame] | 1 | import androidx.build.LibraryGroups |
| 2 | import androidx.build.LibraryVersions |
| 3 | |
Andrew Lewis | 5a4d3dc | 2018-09-17 14:18:34 +0100 | [diff] [blame] | 4 | import static androidx.build.dependencies.DependenciesKt.CHECKER_FRAMEWORK |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 5 | import static androidx.build.dependencies.DependenciesKt.ESPRESSO_CORE |
Sergey Vasilinets | c546c84 | 2018-09-20 15:14:42 -0700 | [diff] [blame] | 6 | import static androidx.build.dependencies.DependenciesKt.GUAVA_LISTENABLE_FUTURE |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 7 | import static androidx.build.dependencies.DependenciesKt.TEST_RULES |
| 8 | import static androidx.build.dependencies.DependenciesKt.TEST_RUNNER |
Hyundo Moon | 999d714 | 2018-06-19 14:30:19 +0900 | [diff] [blame] | 9 | |
Aurimas Liutikas | 6b7a499 | 2018-06-06 16:07:02 -0700 | [diff] [blame] | 10 | plugins { |
| 11 | id("SupportAndroidLibraryPlugin") |
| 12 | } |
| 13 | |
| 14 | dependencies { |
Hyundo Moon | 999d714 | 2018-06-19 14:30:19 +0900 | [diff] [blame] | 15 | api(project(":media")) |
Nick Anthony | b9925c3 | 2018-11-20 20:06:23 -0500 | [diff] [blame] | 16 | api('androidx.versionedparcelable:versionedparcelable:1.1.0-alpha01') |
Sergey Vasilinets | c546c84 | 2018-09-20 15:14:42 -0700 | [diff] [blame] | 17 | api(GUAVA_LISTENABLE_FUTURE) |
| 18 | implementation(project(":concurrent:concurrent-futures")) |
Andrew Lewis | 5a4d3dc | 2018-09-17 14:18:34 +0100 | [diff] [blame] | 19 | compileOnly(CHECKER_FRAMEWORK) |
Andrew Lewis | 6b4afef | 2018-08-02 12:01:52 +0100 | [diff] [blame] | 20 | // Depend on media2-exoplayer so that the library groupId is set to match media2. |
| 21 | implementation(project(":media2-exoplayer")) |
Hyundo Moon | 999d714 | 2018-06-19 14:30:19 +0900 | [diff] [blame] | 22 | |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 23 | androidTestImplementation(TEST_RUNNER) |
| 24 | androidTestImplementation(TEST_RULES) |
| 25 | androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
Hyundo Moon | 999d714 | 2018-06-19 14:30:19 +0900 | [diff] [blame] | 26 | androidTestImplementation project(':internal-testutils') |
Insun Kang | 5834ff5 | 2018-06-13 09:22:31 -0700 | [diff] [blame] | 27 | annotationProcessor(project(":versionedparcelable-annotation")) |
Aurimas Liutikas | 6b7a499 | 2018-06-06 16:07:02 -0700 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | supportLibrary { |
| 31 | name = "AndroidX media2 library" |
| 32 | publish = true |
Aurimas Liutikas | a97ea03 | 2018-06-18 15:07:04 -0700 | [diff] [blame] | 33 | mavenVersion = LibraryVersions.MEDIA2 |
Aurimas Liutikas | 6b7a499 | 2018-06-06 16:07:02 -0700 | [diff] [blame] | 34 | mavenGroup = LibraryGroups.MEDIA2 |
| 35 | inceptionYear = "2018" |
| 36 | description = "Media2" |
Hyundo Moon | 999d714 | 2018-06-19 14:30:19 +0900 | [diff] [blame] | 37 | failOnUncheckedWarnings = false |
| 38 | failOnDeprecationWarnings = false |
Aurimas Liutikas | 6b7a499 | 2018-06-06 16:07:02 -0700 | [diff] [blame] | 39 | } |