blob: 458f7226e9401577b35c503beed4434093eb345a [file] [log] [blame]
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -07001import android.support.LibraryGroups
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -08002import android.support.LibraryVersions
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -07003
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -07004plugins {
5 id("SupportAndroidLibraryPlugin")
6}
Aga Madurskadf451a02016-11-21 14:43:02 +00007
8dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07009 api project(':support-annotations')
10 api project(':support-core-ui')
Aga Madurska7b42d7d2017-09-25 13:05:38 +010011 api project(':support-fragment')
Aurimas Liutikas40e782172017-07-20 14:22:58 -070012 api project(':percent')
13 api project(':recyclerview-v7')
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070014
Aurimas Liutikas9edca682017-07-25 09:12:35 -070015 androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
16 androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
17 androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
18 androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
Aga Madurska7b42d7d2017-09-25 13:05:38 +010019
20 provided fileTree(dir: 'wear_stubs', include: ['com.google.android.wearable-stubs.jar'])
Aga Madurskadf451a02016-11-21 14:43:02 +000021}
22
23android {
Aga Madurskadf451a02016-11-21 14:43:02 +000024 defaultConfig {
Aga Madurska86c39232017-06-22 17:16:18 +010025 minSdkVersion 23
Aga Madurskadf451a02016-11-21 14:43:02 +000026 }
27
28 sourceSets {
Aga Madurskadf451a02016-11-21 14:43:02 +000029 main.res.srcDirs 'res', 'res-public'
Aga Madurska7b42d7d2017-09-25 13:05:38 +010030 main.resources {
31 includes = ["wear_stubs/LICENSE"]
32 }
Aga Madurskadf451a02016-11-21 14:43:02 +000033 }
34
Aga Madurskadf451a02016-11-21 14:43:02 +000035 buildTypes.all {
36 consumerProguardFiles 'proguard-rules.pro'
37 }
38}
39
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080040supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080041 name = "Android Wear Support UI"
42 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080043 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070044 mavenGroup = LibraryGroups.SUPPORT
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080045 inceptionYear = "2016"
46 description = "Android Wear Support UI"
47 legacySourceLocation = true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080048}