forked from RikkaApps/Sui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
38 lines (26 loc) · 958 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
33
34
35
36
37
38
include ':module', ':ui'
import org.apache.tools.ant.DirectoryScanner
DirectoryScanner.removeDefaultExclude('**/.gitattributes')
def root = "api"
def propFile = file('local.properties')
def props = new Properties()
if (propFile.canRead()) {
props.load(new FileInputStream(propFile))
if (props != null) {
if (props["api.useLocal"].equals("true")) {
root = props["api.dir"]
}
}
}
include ':aidl'
project(':aidl').projectDir = file("$root${File.separator}aidl")
include ':rish'
project(':rish').projectDir = file("$root${File.separator}rish")
include ':shared'
project(':shared').projectDir = file("$root${File.separator}shared")
include ':api'
project(':api').projectDir = file("$root${File.separator}api")
include ':provider'
project(':provider').projectDir = file("$root${File.separator}provider")
include ':server-shared'
project(':server-shared').projectDir = file("$root${File.separator}server-shared")