-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsettings.gradle
36 lines (29 loc) · 1.27 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
boolean travis = (System.env['TRAVIS'] ?: false) as boolean
boolean appveyor = (System.env['APPVEYOR'] ?: false) as boolean
boolean fullBuild = !travis && !appveyor
def includeProject = { String projectDirName, String projectName ->
File baseDir = new File(settingsDir, projectDirName)
File projectDir = new File(baseDir, projectName)
String buildFileName = "${projectName}.gradle"
assert projectDir.isDirectory()
assert new File(projectDir, buildFileName).isFile()
include projectName
project(":${projectName}").projectDir = projectDir
project(":${projectName}").buildFileName = buildFileName
}
rootProject.name = 'basilisk'
includeProject 'subprojects', 'basilisk-core'
includeProject 'subprojects', 'basilisk-core-compile'
includeProject 'subprojects', 'basilisk-core-test'
includeProject 'subprojects', 'basilisk-guice'
includeProject 'subprojects', 'basilisk-javafx'
includeProject 'subprojects', 'basilisk-javafx-test'
includeProject 'subprojects', 'gradle-basilisk-plugin'
includeProject 'subprojects', 'gradle-basilisk-build-plugin'
if (!appveyor) {
includeProject 'samples', 'sample-javafx-java'
}
if (fullBuild) {
includeProject 'templates', 'basilisk-application-templates'
includeProject 'templates', 'basilisk-standard-templates'
}