forked from larseimermacher/android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (41 loc) · 1.21 KB
/
build.gradle
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.1'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1'
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.0'
}
}
allprojects {
repositories {
mavenCentral()
jcenter()
}
project.ext.SDK_VERSION = "1.0.5"
project.ext.RC_VERSION = "RC4"
project.ext.buildToolsVersion = "22.0.1"
project.ext.compileSdkVersion = 22
project.ext.targetSdkVersion = 21
project.ext.okhttpVersion = "2.2.0"
project.ext.libraryBuild = false;
}
task wrapper(type: Wrapper) {
gradleVersion = '2.1.1'
}
task librarybuild << {
allprojects {
project.ext.libraryBuild = true;
}
}
task test {
def descriptionString = "There are no unit tests anymore, they have all moved to the library project as integration tests. Run the connectedAndroidTest task!"
doLast{
println(descriptionString)
}
description descriptionString
}