aboutsummaryrefslogtreecommitdiff
path: root/tests/repo/baseLibrary/build.gradle
blob: 34cb341ef4bb26ae99fe37f0ffda3ee5b9593459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
buildscript {
    repositories {
        maven { url '../../../repo' }
        maven { url '../../../../../prebuilts/tools/common/m2/repository' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.4-SNAPSHOT'
    }
}

apply plugin: 'android-library'
apply plugin: 'maven'

repositories {
    maven { url '../testrepo' }
    mavenCentral()
}

dependencies {
    compile 'com.example.android.multiproject:util:1.0'
    releaseCompile 'com.google.guava:guava:11.0.2'
}

android {
    compileSdkVersion 15
    buildToolsVersion "1.0"
}

group = 'com.example.android.multiproject'
archivesBaseName = 'baseLib'
version = '1.0'

uploadArchives {
    repositories {
        mavenDeployer {
            repository(url: uri("../testrepo"))
        }
    }
}