-
Notifications
You must be signed in to change notification settings - Fork 948
/
Copy pathbuild.gradle
115 lines (105 loc) · 3.94 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
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
apply plugin: 'com.android.application'
android {
signingConfigs {
wfc {
keyAlias 'wfc'
keyPassword 'wildfirechat'
storeFile file('../wfc.keystore')
storePassword 'wildfirechat'
}
}
compileSdkVersion 28
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
defaultConfig {
applicationId "cn.wildfirechat.chat"
minSdkVersion 16
targetSdkVersion 28 //当targetversion大于23时,需要使用fileprovider
versionCode 14
versionName "0.6.0"
multiDexEnabled true
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
}
}
signingConfig signingConfigs.wfc
buildConfigField("String", "BuglyId", '"34490ba79f"')
ndk {
abiFilters "armeabi-v7a", 'x86', 'x86_64' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64'
}
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.wfc
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.wfc
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
}
sourceSets {
main {
// wfc kit start
jniLibs.srcDirs += ['kit/libs']
res.srcDirs += ['kit/src/main/res', 'kit/src/main/res-av']
assets.srcDirs += ['kit/src/main/assets']
java.srcDirs += ['kit/src/main/java']
// wfc kit end
}
}
productFlavors {
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation files('libs/TencentLocationSDK_v4.9.7.12_r247861_161205_1104.jar')
implementation files('libs/TencentMapSDK_Raster_v_1.2.7_51ae0e7.jar')
implementation files('libs/TencentSearch1.1.3.jar')
implementation 'com.tencent.bugly:crashreport:2.8.6.0'
implementation 'com.tencent.bugly:nativecrashreport:3.6.0.1'
implementation 'com.lqr.adapter:library:1.0.2'
implementation 'com.jaeger.statusbaruitl:library:1.3.5'
implementation project(':push')
// wfc kit start
implementation fileTree(include: ['*.jar'], dir: 'kit/libs')
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0-alpha10'
implementation 'cjt.library.wheel:camera:1.1.9'
implementation 'com.kyleduo.switchbutton:library:1.4.4'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation 'com.squareup.okio:okio:1.14.0'
implementation 'com.jakewharton:butterknife:10.2.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'org.webrtc:google-webrtc:1.0.21929'
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
implementation 'q.rorbin:badgeview:1.1.3'
implementation 'com.google.code.gson:gson:2.8.5'
// ViewModel and LiveData
def lifecycle_version = '2.2.0-alpha05'
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
implementation project(':client')
implementation project(':avenginekit')
implementation project(':emojilibrary')
implementation project(':imagepicker')
implementation 'com.king.zxing:zxing-lite:1.1.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
// kit wfc end
}