Skip to content

Commit

Permalink
Migrate from Gradle Enterprise to Develocity (#19264)
Browse files Browse the repository at this point in the history
  • Loading branch information
jprinet authored Jul 29, 2024
1 parent f082a35 commit d12cc0b
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.mvn/.gradle-enterprise/
.mvn/.develocity/
.scannerwork/
.vscode
*.iml
Expand Down
22 changes: 11 additions & 11 deletions .mvn/gradle-enterprise.xml → .mvn/develocity.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

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

<gradleEnterprise
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
<develocity
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
<server>
<url>https://ge.openapi-generator.tech/</url> <!-- adjust to your GE server -->
<allowUntrusted>false</allowUntrusted> <!-- ensure a trusted certificate is configured -->
<url>https://ge.openapi-generator.tech/</url>
<allowUntrusted>false</allowUntrusted>
</server>
<buildScan>
<captureGoalInputFiles>true</captureGoalInputFiles>
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider -->
<publish>ALWAYS</publish>
<publishIfAuthenticated>true</publishIfAuthenticated>
<publishing>
<onlyIf>authenticated</onlyIf>
</publishing>
<obfuscation>
<!-- Use a redacted value.-->
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
Expand All @@ -42,4 +42,4 @@
<storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_ACCESS_KEY'])}</storeEnabled>
</remote>
</buildCache>
</gradleEnterprise>
</develocity>
6 changes: 3 additions & 3 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<extensions>
<extension>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<version>1.20.1</version>
<artifactId>develocity-maven-extension</artifactId>
<version>1.21.6</version>
</extension>
<extension>
<groupId>com.gradle</groupId>
<artifactId>common-custom-user-data-maven-extension</artifactId>
<version>1.12.5</version>
<version>2.0</version>
</extension>
</extensions>
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -414,17 +414,17 @@
</plugin>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<artifactId>develocity-maven-extension</artifactId>
<configuration>
<gradleEnterprise>
<develocity>
<normalization>
<runtimeClassPath>
<ignoredFiles>
<ignoredFile>**/_merged_spec.yaml</ignoredFile>
</ignoredFiles>
</runtimeClassPath>
</normalization>
</gradleEnterprise>
</develocity>
</configuration>
</plugin>
</plugins>
Expand Down
10 changes: 5 additions & 5 deletions website/src/dynamic/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@
image: "img/companies/deeproute_logo.jpg"
infoLink: "https://www.deeproute.ai/"
pinned: false
-
caption: Develocity
image: "img/companies/develocity.png"
infoLink: "https://gradle.com/"
pinned: false
-
caption: "dmTECH GmbH"
image: "img/companies/dmtech.jpeg"
Expand Down Expand Up @@ -268,11 +273,6 @@
image: "img/companies/godaddy.png"
infoLink: "https://www.godaddy.com/"
pinned: false
-
caption: Gradle Enterprise
image: "img/companies/gradle-enterprise.png"
infoLink: "https://gradle.com/"
pinned: false
-
caption: "Gumtree"
image: "img/companies/gumtree.png"
Expand Down
Binary file added website/static/img/companies/develocity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d12cc0b

Please sign in to comment.