Skip to content

Commit d12cc0b

Browse files
authored
Migrate from Gradle Enterprise to Develocity (#19264)
1 parent f082a35 commit d12cc0b

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.mvn/.gradle-enterprise/
2+
.mvn/.develocity/
23
.scannerwork/
34
.vscode
45
*.iml
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
22

3-
<!-- Common gradle-enterprise.xml configuration for Maven shared between CI agents and developers building locally.
3+
<!-- Common develocity.xml configuration for Maven shared between CI agents and developers building locally.
44
55
The build cache credentials required for CI builds to write to the remote build cache are read from environment variables.
66
Possibly, the credentials are configured in Jenkins via Credentials plugin (https://plugins.jenkins.io/credentials/) and
@@ -9,24 +9,24 @@
99
1010
Note: In the XML configuration below, you need to adjust
1111
12-
- the server url of your Gradle Enterprise server
12+
- the server url of your Develocity server
1313
- the name of the environment variable that reveals the build is running in a CI environment
1414
- the names of the environment variables holding the build cache credentials
1515
1616
to the specifics of your CI server settings. -->
1717

18-
<gradleEnterprise
19-
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
18+
<develocity
19+
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
2121
<server>
22-
<url>https://ge.openapi-generator.tech/</url> <!-- adjust to your GE server -->
23-
<allowUntrusted>false</allowUntrusted> <!-- ensure a trusted certificate is configured -->
22+
<url>https://ge.openapi-generator.tech/</url>
23+
<allowUntrusted>false</allowUntrusted>
2424
</server>
2525
<buildScan>
26-
<captureGoalInputFiles>true</captureGoalInputFiles>
2726
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider -->
28-
<publish>ALWAYS</publish>
29-
<publishIfAuthenticated>true</publishIfAuthenticated>
27+
<publishing>
28+
<onlyIf>authenticated</onlyIf>
29+
</publishing>
3030
<obfuscation>
3131
<!-- Use a redacted value.-->
3232
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
@@ -42,4 +42,4 @@
4242
<storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_ACCESS_KEY'])}</storeEnabled>
4343
</remote>
4444
</buildCache>
45-
</gradleEnterprise>
45+
</develocity>

.mvn/extensions.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<extensions>
33
<extension>
44
<groupId>com.gradle</groupId>
5-
<artifactId>gradle-enterprise-maven-extension</artifactId>
6-
<version>1.20.1</version>
5+
<artifactId>develocity-maven-extension</artifactId>
6+
<version>1.21.6</version>
77
</extension>
88
<extension>
99
<groupId>com.gradle</groupId>
1010
<artifactId>common-custom-user-data-maven-extension</artifactId>
11-
<version>1.12.5</version>
11+
<version>2.0</version>
1212
</extension>
1313
</extensions>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,17 +414,17 @@
414414
</plugin>
415415
<plugin>
416416
<groupId>com.gradle</groupId>
417-
<artifactId>gradle-enterprise-maven-extension</artifactId>
417+
<artifactId>develocity-maven-extension</artifactId>
418418
<configuration>
419-
<gradleEnterprise>
419+
<develocity>
420420
<normalization>
421421
<runtimeClassPath>
422422
<ignoredFiles>
423423
<ignoredFile>**/_merged_spec.yaml</ignoredFile>
424424
</ignoredFiles>
425425
</runtimeClassPath>
426426
</normalization>
427-
</gradleEnterprise>
427+
</develocity>
428428
</configuration>
429429
</plugin>
430430
</plugins>

website/src/dynamic/users.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@
173173
image: "img/companies/deeproute_logo.jpg"
174174
infoLink: "https://www.deeproute.ai/"
175175
pinned: false
176+
-
177+
caption: Develocity
178+
image: "img/companies/develocity.png"
179+
infoLink: "https://gradle.com/"
180+
pinned: false
176181
-
177182
caption: "dmTECH GmbH"
178183
image: "img/companies/dmtech.jpeg"
@@ -268,11 +273,6 @@
268273
image: "img/companies/godaddy.png"
269274
infoLink: "https://www.godaddy.com/"
270275
pinned: false
271-
-
272-
caption: Gradle Enterprise
273-
image: "img/companies/gradle-enterprise.png"
274-
infoLink: "https://gradle.com/"
275-
pinned: false
276276
-
277277
caption: "Gumtree"
278278
image: "img/companies/gumtree.png"
18.6 KB
Loading

0 commit comments

Comments
 (0)