forked from griffon/griffon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
65 lines (63 loc) · 2.55 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
boolean travis = (System.env['TRAVIS'] ?: false) as boolean
boolean appveyor = (System.env['APPVEYOR'] ?: false) as boolean
boolean fullBuild = !travis && !appveyor
include 'subprojects/griffon-core'
include 'subprojects/griffon-core-java8'
include 'subprojects/griffon-core-compile'
include 'subprojects/griffon-core-test'
include 'subprojects/griffon-guice'
include 'subprojects/griffon-groovy'
include 'subprojects/griffon-groovy-compile'
include 'subprojects/griffon-swing'
include 'subprojects/griffon-swing-groovy'
include 'subprojects/griffon-javafx'
include 'subprojects/griffon-javafx-groovy'
include 'subprojects/griffon-lanterna'
include 'subprojects/griffon-lanterna-groovy'
include 'subprojects/griffon-pivot'
include 'subprojects/griffon-pivot-groovy'
include 'subprojects/griffon-fest-test'
include 'subprojects/griffon-pivot-test'
include 'subprojects/griffon-javafx-test'
include 'subprojects/gradle-griffon-plugin'
include 'subprojects/gradle-griffon-build-plugin'
if (!appveyor) {
include 'samples/sample-swing-java'
include 'samples/sample-swing-groovy'
include 'samples/sample-javafx-java'
include 'samples/sample-javafx-groovy'
include 'samples/sample-lanterna-java'
include 'samples/sample-lanterna-groovy'
include 'samples/sample-pivot-java'
include 'samples/sample-pivot-groovy'
}
if (fullBuild) {
include 'subprojects/application-master-pom'
include 'samples/editor-swing-groovy'
include 'samples/editor-swing-java'
include 'samples/editor-javafx-java'
include 'samples/browser-javafx-groovy'
include 'samples/console-swing-groovy'
include 'templates/griffon-swing-java-templates'
include 'templates/griffon-swing-groovy-templates'
include 'templates/griffon-javafx-java-templates'
include 'templates/griffon-javafx-groovy-templates'
include 'templates/griffon-pivot-java-templates'
include 'templates/griffon-pivot-groovy-templates'
include 'templates/griffon-lanterna-java-templates'
include 'templates/griffon-lanterna-groovy-templates'
include 'templates/griffon-standard-templates'
include 'docs/griffon-guide'
include 'docs/griffon-site'
}
rootProject.name = 'griffon'
rootProject.children.each { project ->
int slash = project.name.indexOf('/')
String fileBaseName = project.name[(slash + 1)..-1]
String projectDirName = project.name
project.name = fileBaseName
project.projectDir = new File(settingsDir, projectDirName)
project.buildFileName = "${fileBaseName}.gradle"
assert project.projectDir.isDirectory()
assert project.buildFile.isFile()
}