-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (44 loc) · 1.25 KB
/
build.gradle
File metadata and controls
52 lines (44 loc) · 1.25 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}
apply plugin: 'com.android.library'
apply plugin: 'maven'
version '1.1'
group 'com.baker'
repositories {
maven { url "http://dl.bintray.com/populov/maven" }
mavenCentral()
maven {
url 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath
}
}
android {
compileSdkVersion 19
buildToolsVersion "20"
defaultConfig {
minSdkVersion 11
targetSdkVersion 19
testPackageName "com.baker.abaker.test"
testInstrumentationRunner "android.test.InstrumentationTestRunner"
}
}
uploadArchives {
repositories {
mavenDeployer {
// Due to a bug in gradle 0.4.2 to 0.4.4 we use this way to get the maven local repository path.
repository url: 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath
}
}
}
task install(dependsOn: uploadArchives)
dependencies {
compile 'com.google.android.gms:play-services:5.0.89'
compile 'org.jsoup:jsoup:1.7.3'
compile 'org.apache.commons:commons-compress:1.8.1'
compile 'com.viewpagerindicator:library:2.4.1@aar'
}