-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathsettings.gradle
163 lines (121 loc) · 6.56 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
plugins {
id 'com.gradle.develocity' version '3.19.1'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.1'
}
def isCI = System.getenv('CI') != null
def isLocal = !isCI
def isAuthenticated = System.getenv('DEVELOCITY_ACCESS_KEY') != null
develocity {
server = 'https://ge.grails.org'
buildScan {
tag('grails')
tag('grails-data-mapping')
publishing.onlyIf { isAuthenticated }
uploadInBackground = isLocal
}
}
buildCache {
local { enabled = isLocal }
remote(develocity.buildCache) {
push = isCI && isAuthenticated
enabled = true
}
}
rootProject.name = 'grails-data-mapping'
include(
'grails-datastore-core',
'grails-datastore-web',
// Core GORM Implementation projects
'grails-datastore-gorm',
'grails-datastore-async',
'grails-datastore-gorm-async',
'grails-datastore-gorm-validation',
'grails-datastore-gorm-support',
// the tck is split into domains -> base -> tck so that the base class can be swapped out or reused
'grails-datastore-gorm-tck',
'grails-datastore-gorm-tck-base',
'grails-datastore-gorm-tck-domains',
'grails-datastore-gorm-test',
// RX projects
// until this can be finished ported to grails 7, we are disabling
//'grails-datastore-gorm-rx',
// Testing Support
'grails-gorm-testing-support',
// Test Report
'test-report'
)
// Documentation
include 'docs-guide-developer'
project(':docs-guide-developer').projectDir = file('docs/guide-developer')
// until this can be finished ported to grails 7, we are disabling
//include 'docs-guide-rx'
//project(':docs-guide-rx').projectDir = file('docs/guide-rx')
include 'docs-guide-whats-new'
project(':docs-guide-whats-new').projectDir = file('docs/guide-whats-new')
// Simple implementation (for simple gorm usage, unit tests, and base implementation testing)
include 'simple-gorm'
findProject(':simple-gorm').projectDir = file('grails-data-simple')
// Hibernate 5
// Core
include "hibernate5-gorm"
findProject(':hibernate5-gorm').projectDir = file('grails-data-hibernate5/gorm')
// Documentation
include 'hibernate5-docs'
findProject(':hibernate5-docs').projectDir = new File(settingsDir, 'grails-data-hibernate5/docs')
// Plugins
include 'hibernate5-grails-plugin'
findProject(':hibernate5-grails-plugin').projectDir = new File(settingsDir, 'grails-data-hibernate5/grails-plugin')
include 'hibernate5-database-migration'
findProject(':hibernate5-database-migration').projectDir = new File(settingsDir, 'grails-data-hibernate5/database-migration')
include 'hibernate5-boot-plugin'
findProject(':hibernate5-boot-plugin').projectDir = new File(settingsDir, 'grails-data-hibernate5/boot-plugin')
include "hibernate5-examples-grails-hibernate"
project(":hibernate5-examples-grails-hibernate").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/grails-hibernate")
include "hibernate5-examples-grails-multiple-datasources"
project(":hibernate5-examples-grails-multiple-datasources").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/grails-multiple-datasources")
include "hibernate5-examples-grails-database-per-tenant"
project(":hibernate5-examples-grails-database-per-tenant").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/grails-database-per-tenant")
include "hibernate5-examples-grails-schema-per-tenant"
project(":hibernate5-examples-grails-schema-per-tenant").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/grails-schema-per-tenant")
include "hibernate5-examples-grails-partitioned-multi-tenancy"
project(":hibernate5-examples-grails-partitioned-multi-tenancy").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/grails-partitioned-multi-tenancy")
include "hibernate5-examples-standalone-hibernate"
project(":hibernate5-examples-standalone-hibernate").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/standalone-hibernate")
include "hibernate5-examples-spring-boot-hibernate"
project(":hibernate5-examples-spring-boot-hibernate").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/spring-boot-hibernate")
include "hibernate5-examples-grails-data-service"
project(":hibernate5-examples-grails-data-service").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/grails-data-service")
include "hibernate5-examples-grails-hibernate-groovy-proxy"
project(":hibernate5-examples-grails-hibernate-groovy-proxy").projectDir = new File(settingsDir, "grails-data-hibernate5/examples/grails-hibernate-groovy-proxy")
include 'hibernate5-examples-issue450'
project(':hibernate5-examples-issue450').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/issue450')
// core
include "mongodb-gorm-bson"
project(":mongodb-gorm-bson").projectDir = new File(settingsDir, 'grails-data-mongodb/gorm-bson')
include "mongodb-gorm"
project(":mongodb-gorm").projectDir = new File(settingsDir, 'grails-data-mongodb/gorm')
include "mongodb-gorm-ext"
project(":mongodb-gorm-ext").projectDir = new File(settingsDir, 'grails-data-mongodb/gorm-ext')
// documentation
include 'mongodb-docs'
project(':mongodb-docs').projectDir = new File(settingsDir, 'grails-data-mongodb/docs')
// plugins
include "mongodb-boot-plugin"
project(':mongodb-boot-plugin').projectDir = new File(settingsDir, 'grails-data-mongodb/boot-plugin')
include 'mongodb-grails-plugin'
project(':mongodb-grails-plugin').projectDir = new File(settingsDir, 'grails-data-mongodb/grails-plugin')
include 'mongodb-views-json-templates'
project(':mongodb-views-json-templates').projectDir = new File(settingsDir, 'grails-data-mongodb/json-templates')
// mongodb examples
include 'mongodb-examples-base'
project(":mongodb-examples-base").projectDir = new File(settingsDir, "grails-data-mongodb/examples/base")
include 'mongodb-examples-database-per-tenant'
project(":mongodb-examples-database-per-tenant").projectDir = new File(settingsDir, "grails-data-mongodb/examples/database-per-tenant")
include 'mongodb-hibernate5-examples'
project(":mongodb-hibernate5-examples").projectDir = new File(settingsDir, "grails-data-mongodb/examples/hibernate5")
include 'mongodb-examples-springboot'
project(":mongodb-examples-springboot").projectDir = new File(settingsDir, "grails-data-mongodb/examples/springboot")
include 'mongodb-examples-test-data-service'
project(":mongodb-examples-test-data-service").projectDir = new File(settingsDir, "grails-data-mongodb/examples/test-data-service")
include 'mongodb-examples-gson-templates'
project(":mongodb-examples-gson-templates").projectDir = new File(settingsDir, "grails-data-mongodb/examples/gson-templates")