forked from tlaukkan/zigbee4java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
37 lines (28 loc) · 933 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
import org.codehaus.groovy.tools.StringHelper;
/**
* zigbee4java Gradle settings
*
* @author Chris Hatton ([email protected])
*/
def zigbee4javaProfilesArray = StringHelper.tokenizeUnquoted(zigbee4javaProfiles)
/* Gradle settings applicable to all profiles */
rootProject.name = 'zigbee4java'
include ':zigbee-api'
include ':zigbee-console-common'
/* Include settings from all profiles selected in 'gradle.properties' */
for(zigbee4javaProfile in zigbee4javaProfilesArray)
{
switch(zigbee4javaProfile)
{
case 'android':
println 'zigbee4java: Including Android settings'
include ':zigbee-serial-android'
include ':zigbee-console-android'
break;
case 'javase':
println 'zigbee4java: Including JavaSE settings'
include ':zigbee-serial-javase'
include ':zigbee-console-javase'
break;
}
}