-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (70 loc) · 2.24 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
configuration = [
package : "info.acidflow.cookee",
buildToolsVersion : "23.0.2",
compileSdkVersion : 23,
minSdkVersion : 16,
minSdkVersionWear : 21,
targetSdkVersion : 23,
lint : [
abortOnError : false
]
]
buildConfig = [
type : [
STRING : "String"
],
field : [
REST_ENDPOINT : "REST_ENDPOINT"
],
debug : [
restEndpoint : 'http://192.168.1.2:3000'
],
release : [
restEndpoint : 'RELEASE_SERVER_URL'
]
]
libraries = [
okhttp : "3.0.1",
okhttpLogging : "3.0.1",
retrofit : "2.0.0-beta3",
retrofitConverter : "2.0.0-beta3",
retrofitAdapter : "2.0.0-beta3",
dagger : "2.0.2",
daggerCompiler : "2.0.2",
javaxAnnotation : "10.0-b28",
support : "23.2.0",
supportWearable : "1.3.0",
playservices : "8.4.0",
rxjava : "1.1.0",
rxandroid : "1.1.0",
butterknife : "7.0.1",
timber : "4.1.0",
recyclerViewAnimator: "2.2.0",
junit : "4.12"
]
}
def configuration = rootProject.ext.configuration;
def libraries = rootProject.ext.libraries;
def buildConfig = rootProject.ext.buildConfig;
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-beta6'
classpath 'me.tatarka:gradle-retrolambda:3.2.4'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}