Skip to content

Commit 5c2cf46

Browse files
committed
Configure Gradle Enterprise
1 parent 1466077 commit 5c2cf46

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ grailsVersion=5.1.8
44
grailsGradlePluginVersion=5.1.4
55
groovyVersion=3.0.5
66
mongodbJavaDriverVersion=4.0.3
7+
org.gradle.parallel=true
8+
org.gradle.caching=true
9+
org.gradle.daemon=true

settings.gradle

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
rootProject.name="embedded-mongodb"
1+
plugins {
2+
id "com.gradle.enterprise" version "3.8.1"
3+
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.6.3'
4+
}
5+
6+
rootProject.name="embedded-mongodb"
7+
8+
gradleEnterprise {
9+
server = 'https://ge.grails.org'
10+
buildScan {
11+
publishAlways()
12+
publishIfAuthenticated()
13+
uploadInBackground = System.getenv("CI") == null
14+
capture {
15+
taskInputFiles = true
16+
}
17+
}
18+
}
19+
20+
buildCache {
21+
local { enabled = System.getenv('CI') != 'true' }
22+
remote(HttpBuildCache) {
23+
push = System.getenv('CI') == 'true'
24+
enabled = true
25+
url = 'https://ge.grails.org/cache/'
26+
credentials {
27+
username = System.getenv('GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER')
28+
password = System.getenv('GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY')
29+
}
30+
}}

0 commit comments

Comments
 (0)