blob: 93f589404030cbed029d06276f06ebedd8b651ab [file] [log] [blame]
Xavier Ducrohetafd09722012-09-21 14:46:03 -07001buildscript {
2 repositories {
3 maven { url '../../../repo' }
4 }
5 dependencies {
Xavier Ducrohet0b870a32012-10-01 12:30:19 -07006 classpath 'com.android.tools.build:gradle:0.2-SNAPSHOT'
Xavier Ducrohetafd09722012-09-21 14:46:03 -07007 }
8}
9apply plugin: 'android-library'
10apply plugin: 'maven'
11
12repositories {
Xavier Ducrohetdc71ab22012-10-05 10:56:03 -070013 mavenLocal()
Xavier Ducrohetafd09722012-09-21 14:46:03 -070014 mavenCentral()
15}
16
17dependencies {
18 compile 'com.example.android.multiproject:baseLib:1.0'
19}
20
21android {
22 target 'android-15'
23}
24
25group = 'com.example.android.multiproject'
26archivesBaseName = 'lib'
27version = '1.0'
Xavier Ducrohetdc71ab22012-10-05 10:56:03 -070028
29uploadArchives {
30 repositories {
31 mavenDeployer {
32 repository(url: uri("../repo"))
33 }
34 }
35}