build.gradle
5.3 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
apply plugin: 'com.android.application'
android {
// 456852
compileSdkVersion 28
defaultConfig {
applicationId "com.yinhebairong.clasmanage"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
renderscriptTargetApi 17
renderscriptSupportModeEnabled true
ndk {
//选择要添加的对应cpu类型的.so库。
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a'
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
}
manifestPlaceholders = [
JPUSH_PKGNAME: applicationId,
JPUSH_APPKEY : "c3814d72c473f30e4f3c9d43", //JPush 上注册的包名对应的 Appkey.
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
]
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-v4:28.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.blankj:utilcode:1.17.3'
implementation 'com.android.support:recyclerview-v7:28.0.0'
// Gson
implementation 'com.google.code.gson:gson:2.8.5'
//动态权限
implementation 'com.hjq:xxpermissions:5.5'
// glide 图片加载框架
implementation 'com.github.bumptech.glide:glide:4.8.0'
// MD 设计控件库
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
//美团适配
implementation 'me.jessyan:autosize:1.1.2'
// retrofit
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
//rxjava rxandroid
implementation 'io.reactivex.rxjava2:rxjava:2.2.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
implementation 'io.reactivex:rxandroid:1.2.1'
//配合Rxjava 使用
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1'
implementation 'com.squareup.okhttp3:okhttp:3.2.0'
implementation 'com.squareup.okio:okio:1.7.0'
// // butterknife 注解框架
// butterknife 注解框架
implementation 'com.jakewharton:butterknife:8.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.1.0'
//smart
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14'
//适配器
implementation 'cn.bingoogolapple:bga-baseadapter:1.2.7@aar'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.40'
// fresco
implementation 'com.facebook.fresco:fresco:0.12.0'
// 折线图
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation files('libs/tomcat-embed-core-8.5.11.jar')
//图片选择器
implementation 'com.github.donkingliang:ImageSelector:1.9.1'
//顶部导航栏
implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
implementation 'com.zhy:percent-support-extends:1.1.1'
// gsyVideoPlayer
implementation 'com.shuyu:gsyVideoPlayer-java:6.0.3'
implementation 'com.shuyu:GSYVideoPlayer-exo2:6.0.3'
implementation 'com.shuyu:gsyVideoPlayer-ex_so:6.0.3'
//design
implementation project(path: ':wheelLibrary')
implementation 'com.kongzue.dialog_v3:dialog:3.1.8'
//音频录制
implementation 'com.github.lewis-v:AudioH:1.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
//极光推送
implementation 'cn.jiguang.sdk:jpush:3.5.6' // 此处以JPush 3.5.6 版本为例。
implementation 'cn.jiguang.sdk:jcore:2.2.8' // 此处以JCore 2.2.8 版本为例。
//压缩
implementation 'top.zibin:Luban:1.1.8'
implementation project(path: ':qrcodecore')
implementation project(path: ':zxing')
implementation 'cn.bingoogolapple:bga-photopicker:1.2.8@aar'
implementation 'pub.devrel:easypermissions:1.0.1'
//excel导出
implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12'
//百家云
// implementation 'com.baijiayun.live:liveplayer-sdk-ui:2.0.4'
//文件图片选择器
implementation 'com.github.guoxiaoxing:phoenix:1.0.15'
implementation 'com.github.guoxiaoxing:phoenix-compress-picture:1.0.15'
implementation 'com.github.guoxiaoxing:phoenix-compress-video:1.0.15'
implementation 'me.rosuh:AndroidFilePicker:0.6.0'
implementation 'org.jetbrains:annotations:15.0'
implementation 'com.ycjiang:imgepreviewlibrary:1.1.3'
implementation 'org.jetbrains:annotations:15.0'
implementation 'com.tencent.bugly:crashreport:latest.release' //其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.2.0
}