forked from AgoraIO-Usecase/agora-ent-scenarios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
51 lines (44 loc) · 1.6 KB
/
settings.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
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://www.jitpack.io' }
mavenCentral()
google()
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
}
}
def versionCtrl = new File(rootProject.projectDir.absolutePath + File.separator + "versionCtrl.properties")
def properties = new Properties()
if (versionCtrl.exists()) {
versionCtrl.withReader('UTF-8') { reader ->
properties.load(reader)
}
}
final def isVoiceEmpty = properties.getProperty("VERSION_SCENE_VOICE").isEmpty()
final def isSpatialVoiceEmpty = properties.getProperty("VERSION_SCENE_SPATIAL_VOICE").isEmpty()
final def isKTVEmpty = properties.getProperty("VERSION_SCENE_KTV").isEmpty()
final def isShowEmpty = properties.getProperty("VERSION_SCENE_SHOW").isEmpty()
rootProject.name = "AgoraEntFullDemo"
include ':app'
include ':common:base'
include ':common:ui-widget'
if (!isKTVEmpty) {
include ':scenes:ktv'
}
if (!isVoiceEmpty) {
include ':scenes:voice'
include ':scenes:voice:common'
}
if (!isSpatialVoiceEmpty) {
include ':scenes:voice_spatial'
include ':scenes:voice_spatial:common'
}
//if(!isShowEmpty){
// include ':scenes:show'
// include ':scenes:show:aars:SenseArSourceManager'
// include ':scenes:show:aars:STMobileJNI'
//}