blob: 3ec3583646a325d73f0a8c6a522559ef74dd3a56 [file] [log] [blame]
Xavier Ducrohetafd09722012-09-21 14:46:03 -07001buildscript {
2 repositories {
3 maven { url '../../../repo' }
Xavier Ducroheta9e5c0a2013-03-19 14:31:03 -07004 maven { url '../../../../../prebuilts/tools/common/m2/repository' }
Xavier Ducrohetafd09722012-09-21 14:46:03 -07005 }
6 dependencies {
Xavier Ducrohet1918f7b2013-02-26 11:57:02 -08007 classpath 'com.android.tools.build:gradle:0.4-SNAPSHOT'
Xavier Ducrohetafd09722012-09-21 14:46:03 -07008 }
9}
Xavier Ducroheta9e5c0a2013-03-19 14:31:03 -070010
Xavier Ducrohetafd09722012-09-21 14:46:03 -070011apply plugin: 'android-library'
12apply plugin: 'maven'
13
14repositories {
Xavier Ducrohet9759acc2012-10-09 15:40:57 -070015 maven { url '../testrepo' }
Xavier Ducrohetafd09722012-09-21 14:46:03 -070016 mavenCentral()
17}
18
19dependencies {
20 compile 'com.example.android.multiproject:baseLib:1.0'
21}
22
23android {
Xavier Ducrohetcd66cd32013-01-30 13:24:03 -080024 compileSdkVersion 15
Xavier Ducrohet92485732013-03-25 17:03:31 -070025 buildToolsVersion "17.0"
Xavier Ducrohetafd09722012-09-21 14:46:03 -070026}
27
28group = 'com.example.android.multiproject'
29archivesBaseName = 'lib'
30version = '1.0'
Xavier Ducrohetdc71ab22012-10-05 10:56:03 -070031
32uploadArchives {
33 repositories {
34 mavenDeployer {
Xavier Ducrohet9759acc2012-10-09 15:40:57 -070035 repository(url: uri("../testrepo"))
Xavier Ducrohetdc71ab22012-10-05 10:56:03 -070036 }
37 }
38}