blob: 84c8d6f202c1692a796f41ddcb6ebd21426acfe8 [file] [log] [blame]
Xavier Ducrohetafd09722012-09-21 14:46:03 -07001buildscript {
2 repositories {
3 maven { url '../../../repo' }
4 }
5 dependencies {
Xavier Ducrohet3fe7c572012-10-09 12:12:41 -07006 classpath 'com.android.tools.build:gradle:0.3-SNAPSHOT'
Xavier Ducrohetafd09722012-09-21 14:46:03 -07007 }
8}
9apply plugin: 'android-library'
10apply plugin: 'maven'
11
12repositories {
Xavier Ducrohet9759acc2012-10-09 15:40:57 -070013 maven { url '../testrepo' }
Xavier Ducrohetafd09722012-09-21 14:46:03 -070014 mavenCentral()
15}
16
17dependencies {
18 compile 'com.example.android.multiproject:baseLib:1.0'
19}
20
21android {
Xavier Ducrohetcd66cd32013-01-30 13:24:03 -080022 compileSdkVersion 15
Xavier Ducrohetafd09722012-09-21 14:46:03 -070023}
24
25group = 'com.example.android.multiproject'
26archivesBaseName = 'lib'
27version = '1.0'
Xavier Ducrohetdc71ab22012-10-05 10:56:03 -070028
29uploadArchives {
30 repositories {
31 mavenDeployer {
Xavier Ducrohet9759acc2012-10-09 15:40:57 -070032 repository(url: uri("../testrepo"))
Xavier Ducrohetdc71ab22012-10-05 10:56:03 -070033 }
34 }
35}