-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
39 lines (31 loc) · 961 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
rootProject.name = 'xbup-tools-java'
include ":deps"
include ":modules:exbin-framework-editor-xbup"
include ":modules:exbin-framework-xbup-catalog"
include ":modules:exbin-framework-xbup-service"
include ":apps:xbeditor"
include ":apps:xbmanager"
include ":apps:xbservice"
include ":apps:xbshell"
include ":apps:lrub1demo"
include ":apps:xbpeditor"
include ":apps:xbseditor"
include ":apps:xbteditor"
File placeholder = file("deps/.downloaded")
if (placeholder.exists()) {
placeholder.delete()
}
if (!gradle.startParameter.taskNames.contains("clean") || gradle.startParameter.projectProperties.containsKey("moduleDep")) {
File depsDir = file("deps")
// Include all downloaded dependency modules
depsDir.listFiles().each() { childFile ->
if (childFile.isDirectory() && childFile.name != ".gradle") {
include ':deps:' + childFile.name
}
}
}
gradle.allprojects {
ext {
depsRoot = 'XbupToolsJava'
}
}