-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsettings.gradle
51 lines (43 loc) · 1.18 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
/*
* This software is available under Apache License
* Copyright (c) 2020
*/
// main project settings:
rootProject.name = "pixel"
// include settings:
var includeAndroid = false
// modules:
include "modules/commons",
"modules/math",
"modules/graphics",
"modules/content",
"modules/core",
"modules/pipeline",
"modules/blueprint"
// platform modules:
include "platform/desktop"
if (includeAndroid && System.getenv("ANDROID_HOME") != null) {
include "platform/android"
}
// extensions:
include "extensions/ext-log4j2",
"extensions/ext-ecs",
"extensions/ext-ecs-extra",
"extensions/ext-tween"
// demos:
if (System.properties["PIXEL_RELEASE"] == null) {
// desktop:
include "demos/desktop/demo-desktop-learning",
"demos/desktop/demo-desktop-concept",
"demos/desktop/demo-desktop-imgui"
// android:
if (includeAndroid && System.getenv("ANDROID_HOME") != null) {
include "demos/android/demo-android-learning"
}
}
// bootstrap module names:
rootProject.children.each {
def parts = it.name.split("/")
def prefix = rootProject.name + "-"
it.name = prefix + parts.last()
}