forked from ProgrammerAnthony/Haafiz
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
73 lines (68 loc) · 2.17 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral()
//LeanCloud
maven {
url "http://mvn.leancloud.cn/nexus/content/repositories/releases"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
//realm support
classpath 'io.realm:realm-gradle-plugin:0.91.0'
// Better IDE support for annotations (so Android Studio interacts better with Dagger)
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
}
}
// Define versions in a single place
ext {
// Sdk and tools
minSdkVersion = 16
targetSdkVersion = 23
compileSdkVersion = 23
buildToolsVersion = '23.0.3'
versionCode = 1
versionName = '1.0'
applicationId = 'edu.com.app'
// App dependencies
supportLibraryVersion = '23.4.0'
junitVersion='4.12'
loggerVersion = '1.11'
materialishProgressVersion = '1.7'
glideVersion = '3.7.0'
butterKnifeVersion = '7.0.1'
aviVersion = '1.0.1'
photoviewVersion = '1.2.4'
rxandroidVersion = '1.2.0'
rxjavaVersion = '1.1.5'
rxpermissionsVersion = '0.7.0@aar'
materialLoginVersion = '1.4.0'
shimmerVersion = '0.1.0@aar'
easyImageVersion='1.2.3'
ucropVersion ='1.5.0'
blurryVersion ='2.0.2'
leakcanaryVersion ='1.4-beta2'
daggerCompilerVersion ='2.0.2'
daggerVersion = '2.0.2'
multidexVersion ='1.0.1'
javaxAnnotationVersion='10.0-b28'
}
allprojects {
repositories {
jcenter()
maven { url "https://raw.githubusercontent.com/umeng/mvn-repo-umeng/master/repository" }
maven { url "http://dl.bintray.com/tbruyelle/tbruyelle" }
maven { url "https://jitpack.io" }
//leanCloud
maven { url "http://mvn.leancloud.cn/nexus/content/repositories/releases" }
//UltimateRecyclerView
maven { url "http://dl.bintray.com/jjhesk/maven" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}