Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 1 | import static android.support.dependencies.DependenciesKt.* |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 2 | import android.support.LibraryGroups |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 3 | import android.support.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 | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 10 | api(project(":support-annotations")) |
| 11 | api(project(":support-core-ui")) |
| 12 | api(project(":support-fragment")) |
| 13 | api(project(":percent")) |
| 14 | api(project(":recyclerview-v7")) |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 15 | |
Jake Wharton | 66807fc | 2017-12-05 14:44:35 -0500 | [diff] [blame] | 16 | androidTestImplementation(TEST_RUNNER) |
| 17 | androidTestImplementation(ESPRESSO_CORE) |
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 | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 41 | mavenGroup = LibraryGroups.SUPPORT |
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 | } |