-
Notifications
You must be signed in to change notification settings - Fork 20
/
settings.gradle
132 lines (114 loc) · 4.79 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// (c) https://github.com/MontiCore/monticore
pluginManagement {
repositories {
mavenCentral()
if(("true").equals(getProperty('useLocalRepo'))){
mavenLocal()
}
maven {
credentials.username mavenUser
credentials.password mavenPassword
url repo
}
gradlePluginPortal()
}
}
boolean isCi = System.getenv().containsKey("CI")
String myGetProperty(String key){
return getProperties().get(key)
}
buildCache {
local {
enabled = true
}
remote(HttpBuildCache) {
enabled = myGetProperty("buildCacheURL") != null
url = ""+myGetProperty("buildCacheURL")
allowInsecureProtocol = false
push = isCi // Only CI is allowed to push
credentials {
username = myGetProperty("buildCacheUser")
password = myGetProperty("buildCachePassword")
}
}
}
rootProject.name = 'monticore'
boolean inComposite = gradle.parent != null
if (!inComposite) {
includeBuild('monticore-generator')
}
include(':monticore-runtime')
include(':monticore-grammar')
if(("true").equals(getProperty('genEMF'))) {
include(':monticore-runtime-emf')
include(':monticore-grammar-emf')
}
include(':monticore-test:monticore-grammar-it')
include(':monticore-test:it')
include(':monticore-test:01experiments')
project(':monticore-test:01experiments').projectDir = file("monticore-test/01.experiments")
include(':monticore-test:01experiments:automaton')
include(':monticore-test:01experiments:makeuse')
include(':monticore-test:01experiments:builderAtm')
include(':monticore-test:01experiments:ch17')
include(':monticore-test:01experiments:codeChecks')
include(':monticore-test:01experiments:composition')
include(':monticore-test:01experiments:extensionvariants')
include(':monticore-test:01experiments:forAst')
include(':monticore-test:01experiments:forConcSt')
include(':monticore-test:01experiments:forMill')
include(':monticore-test:01experiments:interpreter')
include(':monticore-test:01experiments:forParser')
include(':monticore-test:01experiments:forVisitors')
include(':monticore-test:01experiments:generator')
include(':monticore-test:01experiments:glex')
include(':monticore-test:01experiments:lexicalModes')
include(':monticore-test:01experiments:patternAccess')
include(':monticore-test:01experiments:prettyPrinters')
include(':monticore-test:01experiments:questionnaire')
include(':monticore-test:01experiments:S01_intro')
include(':monticore-test:01experiments:scannerless')
include(':monticore-test:01experiments:spaceOnOff-negative')
include(':monticore-test:01experiments:spacesOffWithPositionCheck')
include(':monticore-test:01experiments:stcomposition01')
include(':monticore-test:01experiments:stcomposition02')
include(':monticore-test:01experiments:stcomposition03')
include(':monticore-test:01experiments:strules')
include(':monticore-test:01experiments:tagging')
include(':monticore-test:01experiments:visit_L_inherit')
project(':monticore-test:01experiments:S01_intro').projectDir = file('monticore-test/01.experiments/S01.intro')
project(':monticore-test:01experiments:visit_L_inherit').projectDir = file('monticore-test/01.experiments/visit.L.inherit')
include ':monticore-test:01experiments:templates'
include ':monticore-test:01experiments:hooks'
include ':monticore-test:01experiments:textoutput'
include ':monticore-test:01experiments:hwDeSers'
include ':monticore-test:01experiments:skeleton'
include ':monticore-test:01experiments:demonstrator'
include ':monticore-test:02experiments'
project(':monticore-test:02experiments').projectDir = file("monticore-test/02.experiments")
include(':monticore-test:02experiments:scopes')
include(':monticore-test:02experiments:unknownScopes')
include(':monticore-test:02experiments:symbols')
include(':monticore-test:02experiments:mcgrammarlang')
include(':monticore-test:02experiments:forGrammarOps')
include(':monticore-test:02experiments:parser')
include(':monticore-test:02experiments:traverser')
include(':monticore-test:02experiments:typecheck')
include(':monticore-test:02experiments:forGradle')
include(':monticore-test:02experiments:configTemplate')
include(':monticore-test:02experiments:groovyHooks')
include(':monticore-test:02experiments:imports')
include(':monticore-test:02experiments:dispatcher')
include(':monticore-test:02experiments:resolving')
if ("true".equals(getProperty('genTR'))) { // Only test MontiTrans if the flag is set
include ':monticore-test:montitrans'
project(':monticore-test:montitrans').projectDir = file("monticore-test/montitrans")
include(':monticore-test:montitrans:test-dstl-gen')
include(':monticore-test:montitrans:test-odrules')
include(':monticore-test:montitrans:test-generated-dstls')
}
if ("true".equals(getProperty('genEMF'))) { // Only test EMF if the flag is set
include(':monticore-test:01experiments:forEmfAst')
}
// include 'example'
// project(':example').projectDir = file("monticore-test/example")