Xavier Ducrohet | afd0972 | 2012-09-21 14:46:03 -0700 | [diff] [blame] | 1 | buildscript { |
| 2 | repositories { |
| 3 | maven { url '../../../repo' } |
| 4 | } |
| 5 | dependencies { |
Xavier Ducrohet | 3fe7c57 | 2012-10-09 12:12:41 -0700 | [diff] [blame] | 6 | classpath 'com.android.tools.build:gradle:0.3-SNAPSHOT' |
Xavier Ducrohet | afd0972 | 2012-09-21 14:46:03 -0700 | [diff] [blame] | 7 | } |
| 8 | } |
| 9 | apply plugin: 'android-library' |
| 10 | apply plugin: 'maven' |
| 11 | |
| 12 | repositories { |
Xavier Ducrohet | 9759acc | 2012-10-09 15:40:57 -0700 | [diff] [blame^] | 13 | maven { url '../testrepo' } |
Xavier Ducrohet | afd0972 | 2012-09-21 14:46:03 -0700 | [diff] [blame] | 14 | mavenCentral() |
| 15 | } |
| 16 | |
| 17 | dependencies { |
| 18 | compile 'com.example.android.multiproject:baseLib:1.0' |
| 19 | } |
| 20 | |
| 21 | android { |
| 22 | target 'android-15' |
| 23 | } |
| 24 | |
| 25 | group = 'com.example.android.multiproject' |
| 26 | archivesBaseName = 'lib' |
| 27 | version = '1.0' |
Xavier Ducrohet | dc71ab2 | 2012-10-05 10:56:03 -0700 | [diff] [blame] | 28 | |
| 29 | uploadArchives { |
| 30 | repositories { |
| 31 | mavenDeployer { |
Xavier Ducrohet | 9759acc | 2012-10-09 15:40:57 -0700 | [diff] [blame^] | 32 | repository(url: uri("../testrepo")) |
Xavier Ducrohet | dc71ab2 | 2012-10-05 10:56:03 -0700 | [diff] [blame] | 33 | } |
| 34 | } |
| 35 | } |