| Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
| 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.LibraryVersions |
| Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 4 | |
| Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 5 | plugins { |
| 6 | id("SupportAndroidLibraryPlugin") |
| 7 | } |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 8 | |
| 9 | dependencies { |
| Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 10 | api(project(":annotation")) |
| 11 | api(project(":legacy-support-core-ui")) |
| 12 | api(project(":fragment")) |
| 13 | api(project(":recyclerview")) |
| Aurimas Liutikas | 670536f | 2018-02-13 08:40:27 -0800 | [diff] [blame] | 14 | api(CONSTRAINT_LAYOUT, { transitive = true }) |
| Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 15 | |
| Filip Pavlis | a879294 | 2018-03-08 21:01:59 +0000 | [diff] [blame^] | 16 | androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) |
| 17 | androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) |
| Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 18 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 19 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| Aga Madurska | 7b42d7d | 2017-09-25 13:05:38 +0100 | [diff] [blame] | 20 | |
| Jake Wharton | b3e7826 | 2017-12-06 12:08:43 -0500 | [diff] [blame] | 21 | compileOnly fileTree(dir: 'wear_stubs', include: ['com.google.android.wearable-stubs.jar']) |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | android { |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 25 | sourceSets { |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 26 | main.res.srcDirs 'res', 'res-public' |
| Aga Madurska | 7b42d7d | 2017-09-25 13:05:38 +0100 | [diff] [blame] | 27 | main.resources { |
| 28 | includes = ["wear_stubs/LICENSE"] |
| 29 | } |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 30 | } |
| 31 | |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 32 | buildTypes.all { |
| 33 | consumerProguardFiles 'proguard-rules.pro' |
| 34 | } |
| 35 | } |
| 36 | |
| Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 37 | supportLibrary { |
| Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 38 | name = "Android Wear Support UI" |
| 39 | publish = true |
| Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 40 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
| Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 41 | mavenGroup = LibraryGroups.WEAR |
| Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 42 | inceptionYear = "2016" |
| 43 | description = "Android Wear Support UI" |
| Aurimas Liutikas | b63b3ab | 2017-12-13 14:52:10 -0800 | [diff] [blame] | 44 | minSdkVersion = 23 |
| Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 45 | } |