forked from MozillaReality/FirefoxReality
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
32 lines (29 loc) · 972 Bytes
/
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
include ':app'
def wavebuild = new File('third_party/wavesdk/build.gradle')
if (wavebuild.exists()) {
include ':wavesdk'
project(':wavesdk').projectDir = new File('third_party/wavesdk/')
}
def userPropertiesFile = new File('user.properties')
if (userPropertiesFile.exists()) {
println("Loading user.properties")
def props = new Properties()
userPropertiesFile.withInputStream {
props.load(it)
}
props.each { prop ->
println(prop.key + " = " + prop.value)
gradle.ext.set(prop.key, prop.value)
}
if (gradle.hasProperty('geckoViewLocalArm') || gradle.hasProperty('geckoViewLocalX86')) {
println("Using local build of geckoview")
include ':geckoview-local'
project(':geckoview-local').projectDir = new File('geckoview-local')
}
if (gradle.hasProperty('enableServo')) {
println("Including :servo")
include ':servo'
}
} else {
println("FILE DOESN'T EXIST")
}