Xavier Ducrohet | efc78cb | 2013-12-04 17:53:32 -0800 | [diff] [blame] | 1 | apply plugin: 'java' |
| 2 | apply plugin: 'distrib' |
Xavier Ducrohet | a2b2125 | 2013-12-05 18:03:04 -0800 | [diff] [blame^] | 3 | apply plugin: 'maven' |
Xavier Ducrohet | efc78cb | 2013-12-04 17:53:32 -0800 | [diff] [blame] | 4 | |
| 5 | evaluationDependsOn(':dvlib') |
| 6 | |
Raphael Moll | 7803e82 | 2013-03-08 10:05:25 -0800 | [diff] [blame] | 7 | group = 'com.android.tools' |
| 8 | archivesBaseName = 'sdklib-test' |
| 9 | |
Raphael Moll | 8685da0 | 2013-02-05 14:26:42 -0800 | [diff] [blame] | 10 | dependencies { |
| 11 | compile project(':sdklib') |
Xavier Ducrohet | 17bd512 | 2013-02-06 11:22:31 -0800 | [diff] [blame] | 12 | compile project(':dvlib').sourceSets.test.output |
Raphael Moll | 8685da0 | 2013-02-05 14:26:42 -0800 | [diff] [blame] | 13 | compile 'junit:junit:3.8.1' |
| 14 | } |
| 15 | |
Raphael Moll | 8685da0 | 2013-02-05 14:26:42 -0800 | [diff] [blame] | 16 | sourceSets { |
| 17 | main.resources.srcDirs = [ 'src/test/java' ] |
| 18 | } |
| 19 | |
| 20 | javadoc { |
| 21 | enabled = false |
| 22 | dependsOn = [] |
| 23 | } |
Xavier Ducrohet | fd85087 | 2013-03-05 17:16:22 -0800 | [diff] [blame] | 24 | |
Raphael Moll | 7803e82 | 2013-03-08 10:05:25 -0800 | [diff] [blame] | 25 | shipping.isShipping = false |
Xavier Ducrohet | a2b2125 | 2013-12-05 18:03:04 -0800 | [diff] [blame^] | 26 | |
| 27 | apply from: '../baseVersion.gradle' |
| 28 | |
| 29 | task publishLocal(type: Upload) { |
| 30 | configuration = configurations.archives |
| 31 | repositories { |
| 32 | mavenDeployer { |
| 33 | repository(url: uri("$rootProject.ext.androidHostOut/repo")) |
| 34 | } |
| 35 | } |
| 36 | } |