Aurimas Liutikas | 17de202 | 2018-04-27 16:07:52 -0700 | [diff] [blame] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.LibraryVersions |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 4 | import androidx.build.Publish |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 5 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 6 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 7 | id("AndroidXPlugin") |
| 8 | id("com.android.library") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 9 | } |
Yusuf Ozuysal | 08889ac | 2015-06-18 11:28:34 -0700 | [diff] [blame] | 10 | |
Jake Wharton | c2d7549 | 2018-07-13 19:24:58 -0400 | [diff] [blame] | 11 | android { |
| 12 | defaultConfig { |
Peter E Conn | 85ffcb1d | 2019-01-09 10:31:26 +0000 | [diff] [blame] | 13 | minSdkVersion 16 |
Jake Wharton | c2d7549 | 2018-07-13 19:24:58 -0400 | [diff] [blame] | 14 | } |
Pavel Shmakov | 28a6f96 | 2019-07-17 18:15:36 +0100 | [diff] [blame] | 15 | |
| 16 | testOptions.unitTests.includeAndroidResources = true |
Jake Wharton | c2d7549 | 2018-07-13 19:24:58 -0400 | [diff] [blame] | 17 | } |
| 18 | |
Benoit Lize | 97ee4f3 | 2015-07-31 14:28:59 +0200 | [diff] [blame] | 19 | dependencies { |
Nick Anthony | ece690f | 2019-07-31 17:50:14 +0000 | [diff] [blame] | 20 | api("androidx.core:core:1.1.0-rc01") |
Nick Anthony | ac4cf06 | 2019-06-04 10:59:29 -0400 | [diff] [blame] | 21 | api("androidx.annotation:annotation:1.1.0") |
Kirill Grouchnikov | f8b9ac8 | 2016-02-11 18:44:27 -0800 | [diff] [blame] | 22 | |
Peter E Conn | fad113d | 2019-07-25 13:08:52 +0100 | [diff] [blame] | 23 | implementation("androidx.collection:collection:1.1.0") |
| 24 | implementation("androidx.concurrent:concurrent-futures:1.0.0-beta01") |
| 25 | implementation("androidx.interpolator:interpolator:1.0.0") |
Peter E Conn | 85ffcb1d | 2019-01-09 10:31:26 +0000 | [diff] [blame] | 26 | |
Peter E Conn | 0254eae | 2019-06-24 15:14:00 +0100 | [diff] [blame] | 27 | annotationProcessor(NULLAWAY) |
| 28 | |
Peter E Conn | 1e89e7e | 2019-05-29 12:01:20 +0100 | [diff] [blame] | 29 | testImplementation(ANDROIDX_TEST_CORE) |
| 30 | testImplementation(ANDROIDX_TEST_RUNNER) |
| 31 | testImplementation(JUNIT) |
| 32 | testImplementation(ROBOLECTRIC) |
| 33 | testImplementation(MOCKITO_CORE) |
| 34 | |
Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 35 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 36 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 37 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 38 | androidTestImplementation(ANDROIDX_TEST_RULES) |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 39 | androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
Peter E Conn | 1e89e7e | 2019-05-29 12:01:20 +0100 | [diff] [blame] | 40 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 41 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
Aurimas Liutikas | 67171c8 | 2018-02-27 13:10:25 -0800 | [diff] [blame] | 42 | androidTestImplementation(project(":internal-testutils")) |
Benoit Lize | 97ee4f3 | 2015-07-31 14:28:59 +0200 | [diff] [blame] | 43 | } |
| 44 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 45 | androidx { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 46 | name = "Android Support Custom Tabs" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 47 | publish = Publish.SNAPSHOT_AND_RELEASE |
Nick Anthony | 9551653 | 2018-10-31 13:59:57 -0400 | [diff] [blame] | 48 | mavenVersion = LibraryVersions.BROWSER |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 49 | mavenGroup = LibraryGroups.BROWSER |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 50 | inceptionYear = "2015" |
| 51 | description = "Android Support Custom Tabs" |
Louis Pullen-Freilich | 32a7dec | 2019-06-13 15:33:01 +0100 | [diff] [blame] | 52 | failOnDeprecationWarnings = false |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 53 | } |