-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (47 loc) · 1.13 KB
/
build.gradle
File metadata and controls
56 lines (47 loc) · 1.13 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
53
54
55
56
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral() // add repository
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//define the version
ext{
//android sdk & tools
compileSdkVersion=25
buildToolsVersion="25.0.0"
minSdkVersion=14
targetSdkVersion=25
//support library
support="25.1.0"
//Junit
junit="4.12"
//third library
okhttp="3.5.0"
glide="3.7.0"
gson="2.8.0"
butterknife='8.4.0'
rxjava='1.2.4'
rxandroid='1.2.1'
retrofit="2.1.0"
adapter_rxjava='2.2.0'
support_constraint_layout='1.0.2'
greendao='3.2.2'
//lifecycle
archLifecycleVersion = "1.0.0-alpha9"
isDebug = true
}