-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
75 lines (67 loc) · 2.64 KB
/
build.gradle
File metadata and controls
75 lines (67 loc) · 2.64 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
apply plugin: 'com.android.application'
apply plugin: 'com.mob.sdk'
android {
compileSdkVersion 28
MobSDK {
appKey "2b85a17d997b2"
appSecret "bc386e05d6171e915f1195858a9d017b"
SMSSDK {}
}
defaultConfig {
applicationId "com.example.frametest"
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions { //优化dex配置
dexInProcess true
preDexLibraries true
javaMaxHeapSize "2g" //Java SDK 64位
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:28.0.0'
//noinspection GradleCompatible
implementation 'com.android.support:design:28.0.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.14.0'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'com.github.bumptech.glide:glide:4.2.0'
// implementation 'com.jakewharton:butterknife:10.2.0'
//annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
//第三方弹出框
implementation 'com.github.cazaea:sweet-alert-dialog:1.0.0'
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
//高德定位及3D地图
implementation 'com.amap.api:3dmap:latest.integration'
implementation 'com.amap.api:location:latest.integration'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
//使用RxBus
implementation 'io.reactivex.rxjava2:rxjava:2.0.5'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
// MultiDex的依赖
implementation 'com.android.support:multidex:1.0.3'
implementation files('libs/mysql-connector-java-5.1.47.jar')
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
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 files('libs/HeWeather_Public_Android_V3.1.jar')
}