forked from badoo/RIBs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
51 lines (46 loc) · 1.48 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
def props = new Properties()
def propsFile = file("local.properties")
boolean useCompose = false
if (propsFile.exists()) {
propsFile.withInputStream { props.load(it) }
useCompose = Boolean.parseBoolean(props.getProperty("useCompose").toString())
}
if (hasProperty("useCompose")) {
useCompose = Boolean.parseBoolean(getProperty("useCompose").toString())
}
if (useCompose) {
include ':libraries:rib-compose'
include ':sandbox-compose'
} else {
include ':sandbox-compose-placeholder'
}
include ':app-example'
include ':libraries:rib-base'
include ':libraries:rib-base-test'
include ':libraries:rib-base-test-activity'
include ':libraries:rib-base-test-rx2'
include ':libraries:rib-debug-utils'
include ':libraries:rib-portal'
include ':libraries:rib-portal-rx'
include ':libraries:rib-recyclerview'
include ':libraries:rib-rx2'
include ':samples:back-stack'
include ':samples:build-time-dependencies'
include ':samples:customisations-app'
include ':samples:dialogs'
include ':samples:communication-between-nodes-1'
include ':samples:hello-world'
include ':samples:plugins'
include ':samples:retained-instance-store'
include ':samples:simple-routing-app'
include ':samples:simple-routing-rib'
include ':sandbox'
include ':templates:release-0.26'
include ':templates:snapshot'
include ':tooling:rib-intellij-plugin'
include ':tutorials:tutorial1'
include ':tutorials:tutorial2'
include ':tutorials:tutorial3'
include ':tutorials:tutorial4'
include ':tutorials:tutorial5'
includeBuild("plugins")