build.gradle
4.17 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
android {
compileSdkVersion 23
buildToolsVersion '25.0.2'
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
useLibrary 'org.apache.http.legacy'
dexOptions {
javaMaxHeapSize "4g"
}
sourceSets { main { jni.srcDirs = [] } }
defaultConfig {
applicationId "com.cnlive.goldenline"
minSdkVersion 17
targetSdkVersion 22
versionCode 60
versionName "3.0.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
moduleName "gold"
ldLibs "log", "z", "m"
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
multiDexEnabled true
}
signingConfigs {
myConfig {
storeFile file("GoldenLine.keystore")
storePassword "123456"
keyAlias "goldenline.keystore"
keyPassword "123456"
v2SigningEnabled false
}
}
packagingOptions {
exclude '.readme'
}
buildTypes {
debug {
// 显示Log, 在java代码中的调用方式为:BuildConfig.LOG_DEBUG
buildConfigField "boolean", "LOG_DEBUG", "true"
// signingConfig signingConfigs.myConfig
minifyEnabled false
zipAlignEnabled true
signingConfig signingConfigs.myConfig
}
release {
// 不显示Log, 在java代码中的调用方式为:BuildConfig.LOG_DEBUG
buildConfigField "boolean", "LOG_DEBUG", "true"
signingConfig signingConfigs.myConfig
minifyEnabled true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
checkReleaseBuilds false
}
dataBinding {
enabled = true
}
}
repositories {
flatDir { dirs 'libs' }
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':PushSDK')
compile files('libs/libcnliveuser.jar')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile(name: 'turquoise-release', ext: 'aar')
testCompile 'org.testng:testng:6.9.6'
provided files('runtime/MiguSDK2.0_203.jar')
compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {
transitive = true;
}
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:gridlayout-v7:23.4.0'
compile 'com.jakewharton:butterknife:8.2.1'
compile 'com.squareup.okhttp:okhttp:2.0.0'
compile 'com.facebook.fresco:imagepipeline-okhttp:0.9.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'de.greenrobot:greendao:2.0.0'
compile 'com.jiechic.library:xUtils:2.6.14'
compile 'com.facebook.fresco:fresco:0.9.0'
compile 'com.orhanobut:logger:1.15'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.commit451:NativeStackBlur:1.0.2'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'jp.wasabeef:glide-transformations:2.0.1'
compile 'org.igniterealtime.smack:smack-android-extensions:4.1.5'
compile 'org.igniterealtime.smack:smack-tcp:4.1.5'
compile 'com.timehop.stickyheadersrecyclerview:library:[0.4.3]@aar'
compile 'com.github.iwgang:countdownview:2.1.3'
compile 'com.android.support:multidex:1.0.0'
compile 'com.github.ctiao:dfm:0.4.1'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'org.testng:testng:6.9.6'
testCompile 'junit:junit:4.12'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.2.1'
}