-
Notifications
You must be signed in to change notification settings - Fork 951
/
settings.gradle
80 lines (71 loc) · 2.12 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
plugins {
id 'com.gradle.develocity' version '3.18.2'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
}
def isCI = System.getenv('CI') != null
def isLocal = !isCI
def isAuthenticated = System.getenv('DEVELOCITY_ACCESS_KEY') != null
def isBuildCacheAuthenticated =
System.getenv('DEVELOCITY_BUILD_CACHE_NODE_USER') != null &&
System.getenv('DEVELOCITY_BUILD_CACHE_NODE_KEY') != null
develocity {
server = 'https://ge.grails.org'
buildScan {
publishing.onlyIf { isAuthenticated }
uploadInBackground = isLocal
}
}
buildCache {
local { enabled = isLocal }
remote(develocity.buildCache) {
push = isCI && isBuildCacheAuthenticated
enabled = true
usernameAndPassword(
System.getenv('DEVELOCITY_BUILD_CACHE_NODE_USER') ?: '',
System.getenv('DEVELOCITY_BUILD_CACHE_NODE_KEY') ?: ''
)
}
}
rootProject.name = 'grails.core.ROOT'
include (
'grails-bootstrap',
'grails-codecs',
'grails-console',
'grails-core',
'grails-databinding',
'grails-docs',
'grails-encoder',
'grails-logging',
'grails-shell',
'grails-spring',
'grails-test',
'grails-web',
'grails-web-common',
'grails-web-boot',
'grails-web-databinding',
'grails-web-mvc',
'grails-web-url-mappings',
// POM / BOMs
'grails-dependencies',
'grails-bom',
// Plugins
'grails-plugin-codecs',
'grails-plugin-controllers',
'grails-plugin-databinding',
'grails-plugin-datasource',
'grails-plugin-domain-class',
'grails-plugin-interceptors',
'grails-plugin-i18n',
'grails-plugin-mimetypes',
'grails-plugin-rest',
'grails-plugin-services',
'grails-plugin-url-mappings',
'grails-plugin-validation',
// Test Suite
'grails-test-suite-base',
'grails-test-suite-persistence',
'grails-test-suite-uber',
'grails-test-suite-web',
// Gradle Plugin
'grails-gradle-model'
)