-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle
63 lines (55 loc) · 2.14 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
ext {
voice_is_modular = false
}
apply from: "${rootProject.getRootDir().absolutePath}/modular.gradle"
final def VERSION_SCENE_SPATIAL_VOICE = "4.1.200"
android {
defaultConfig {
if(voice_is_modular){
applicationId "io.agora.scenes.voice.spatial"
buildConfigField "Boolean", "is_modular", "${true}"
}else {
buildConfigField "Boolean", "is_modular", "${false}"
}
ndk {
// 设置支持的SO库架构
abiFilters 'arm64-v8a' //, 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
}
buildConfigField "String", "VERSION", "\"${VERSION_SCENE_SPATIAL_VOICE}\""
}
sourceSets {
main {
// 独立调试与集成调试时使用不同的 AndroidManifest.xml 文件
if (voice_is_modular) {
manifest.srcFile 'src/main/moduleManifest/AndroidManifest.xml'
} else {
manifest.srcFile 'src/main/AndroidManifest.xml'
}
}
}
}
dependencies {
implementation project(":common:base")
implementation project(':common:ui-widget')
// implementation project(':scenes:voice:common')
kapt rootProject.ext.deps.arouter_kapt
implementation rootProject.ext.deps.arouter
kapt rootProject.ext.deps.glide_compiler
implementation rootProject.ext.deps.glide
implementation rootProject.ext.deps.annotation
implementation rootProject.ext.deps.appcompat
implementation rootProject.ext.deps.lifecycle
implementation rootProject.ext.deps.lifecycle_runtime
implementation rootProject.ext.deps.fragment_ktx
implementation rootProject.ext.deps.core_ktx
implementation rootProject.ext.deps.constraintlayout
implementation rootProject.ext.deps.recyclerview
implementation rootProject.ext.deps.material
implementation rootProject.ext.deps.header_classics
implementation rootProject.ext.deps.layout_kernel
implementation rootProject.ext.deps.bugly
implementation rootProject.ext.deps.gson
implementation rootProject.ext.deps.syncManager
implementation rootProject.ext.deps.svga_player
implementation rootProject.ext.deps.agora_chat
}