-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
74 lines (67 loc) · 2.02 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
apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao'
android {
compileSdkVersion 24
buildToolsVersion '21.1.0'
defaultConfig {
applicationId "top.greendami.movielineage"
minSdkVersion 19
targetSdkVersion 15
versionCode 8
versionName "1.0.10"
}
buildTypes {
release {
minifyEnabled false
}
}
greendao {
schemaVersion 1
targetGenDir 'src/main/java-dao'
}
sourceSets {
main {
java.srcDirs = ['src/main/java', 'src/main/java-dao']
}
}
productFlavors {
baidu {
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "Baidu"]
}
kuan {
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "KuAn"]
}
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
flatDir{
dirs 'libs' //就是你放aar的目录地址
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':vitamio')
compile 'com.android.support:appcompat-v7:+'
compile 'com.android.support:design:+'
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:palette-v7:+'
compile 'com.android.support:cardview-v7:+'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.squareup.okhttp3:okhttp:3.0.1'
compile 'io.reactivex:rxandroid:1.1.0'
compile 'io.reactivex:rxjava:1.1.0'
compile 'com.squareup.retrofit2:adapter-rxjava:+'
compile 'com.squareup.retrofit2:converter-gson:+'
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta3'
compile 'org.greenrobot:greendao:3.2.0'
compile 'com.google.code.gson:gson:2.7'
compile name: 'SMSSDK-2.1.3', ext: 'aar'
// compile name: 'SMSSDKGUI-2.1.3', ext: 'aar'
// debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3'
// releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3'
}