summaryrefslogtreecommitdiff
path: root/build-system/tests/repo/baseLibrary/build.gradle
blob: b2f0234772964823f350e49a685c619d167994fd (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
buildscript {
    repositories {
        maven { url '../../../../../../out/repo' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.11.2'
    }
}

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 19
    buildToolsVersion '19.1.0'
}

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

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