blob: e680623c24681a5527af87f52675d1fa006383fd [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Aga Madurskadf451a02016-11-21 14:43:02 +00002archivesBaseName = 'wearable'
3
4dependencies {
5 compile project(':support-annotations')
6 compile project(':support-core-ui')
7 androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") {
8 exclude module: 'support-annotations'
9 }
10 androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") {
11 exclude module: 'support-annotations'
12 }
13 testCompile 'junit:junit:4.12'
14 testCompile "org.mockito:mockito-core:1.9.5"
15 testCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") {
16 exclude module: 'support-annotations'
17 }
18 androidTestCompile "org.mockito:mockito-core:1.9.5"
19 androidTestCompile "com.google.dexmaker:dexmaker:1.2"
20 androidTestCompile "com.google.dexmaker:dexmaker-mockito:1.2"
21}
22
23android {
24 compileSdkVersion project.ext.currentSdk
25
26 defaultConfig {
27 minSdkVersion 20
Aga Madurskadf451a02016-11-21 14:43:02 +000028 }
29
30 sourceSets {
Aga Madurskadf451a02016-11-21 14:43:02 +000031 main.java.srcDir 'src'
32 main.res.srcDirs 'res', 'res-public'
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 {
41 name 'Android Wear Support UI'
42 inceptionYear '2016'
43 description 'Android Wear Support UI'
44}
45
Aga Madurskadf451a02016-11-21 14:43:02 +000046uploadArchives {
47 repositories {
48 mavenDeployer {
49 repository(url: uri(rootProject.ext.supportRepoOut)) {
50 }
Aga Madurskadf451a02016-11-21 14:43:02 +000051 }
52 }
53}