-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (54 loc) · 2.19 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
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.example.wb.tkandroid"
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
ndk {
// 设置支持的SO库架构
abiFilters 'armeabi', 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// dataBinding 加入官方组件绑定框架
dataBinding {
enabled = true
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
//其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.1.9
//其中latest.release指代最新Bugly NDK版本号,也可以指定明确的版本号,例如3.0
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-3'
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-3'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'org.xutils:xutils:3.3.36'
compile 'com.alibaba:fastjson:1.2.46'
compile 'com.android.support:multidex:1.0.1'
compile 'com.jakewharton:butterknife:8.8.1'
compile 'com.android.support:design:26.+'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
compile 'com.github.gittjy:LoadingDialog:1.0.2'
compile 'com.tencent.bugly:crashreport:latest.release'
compile 'com.tencent.bugly:nativecrashreport:latest.release'
compile 'com.github.traex.rippleeffect:library:1.3'
testCompile 'junit:junit:4.12'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
compile files('libs/afinal.jar')
}