-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.gradle
29 lines (26 loc) · 1.02 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
rootProject.name = "QPlay Edge (Demo)"
include ':demo'
def localPropertiesFile = file("local.properties")
def useSdkSource = false
if (localPropertiesFile.exists()) {
def localProperties = new Properties()
localProperties.load(new FileInputStream(localPropertiesFile))
useSdkSource = localProperties.getProperty("useSdkSource", "false").toBoolean()
}
if (useSdkSource) {
try {
includeBuild '../Android',{
dependencySubstitution {
substitute module('com.tencent.qqmusic.openapi:openapi-sdk') using project(':entry')
substitute module('com.tencent.qqmusic.openapi:openapi-sdk-gradle-plugin') using project(':sdk-gradle-plugin')
}
}
includeBuild '../module_playback_audio',{
dependencySubstitution {
substitute module('com.tencent.qqmusic.innovation:module-playback-audio') using project(':playback')
}
}
} catch (ignored) {
println("settings.gradle include failed. ignore:${ignored}")
}
}