| Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 2 | archivesBaseName = 'wearable' |
| 3 | |
| 4 | dependencies { |
| 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 | |
| 23 | android { |
| 24 | compileSdkVersion project.ext.currentSdk |
| 25 | |
| 26 | defaultConfig { |
| 27 | minSdkVersion 20 |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | sourceSets { |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 31 | main.java.srcDir 'src' |
| 32 | main.res.srcDirs 'res', 'res-public' |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 33 | } |
| 34 | |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 35 | buildTypes.all { |
| 36 | consumerProguardFiles 'proguard-rules.pro' |
| 37 | } |
| 38 | } |
| 39 | |
| Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame^] | 40 | supportLibrary { |
| 41 | name 'Android Wear Support UI' |
| 42 | inceptionYear '2016' |
| 43 | description 'Android Wear Support UI' |
| 44 | } |
| 45 | |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 46 | uploadArchives { |
| 47 | repositories { |
| 48 | mavenDeployer { |
| 49 | repository(url: uri(rootProject.ext.supportRepoOut)) { |
| 50 | } |
| Aga Madurska | df451a0 | 2016-11-21 14:43:02 +0000 | [diff] [blame] | 51 | } |
| 52 | } |
| 53 | } |