Skip to content

Commit b14da95

Browse files
yrodieremarko-bekhta
authored andcommitted
Upgrade to develocity-maven-extension 1.21 / hibernate-search-develocity-extension 2.0.0
1 parent 1d81b30 commit b14da95

File tree

4 files changed

+11
-17
lines changed

4 files changed

+11
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ nbactions.xml
5353

5454
# Gradle Enterprise/Develocity
5555
/.mvn/.gradle-enterprise
56+
/.mvn/.develocity
Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
1-
<gradleEnterprise
2-
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
1+
<develocity
2+
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
44
<server>
55
<url>https://ge.hibernate.org</url>
66
<allowUntrusted>false</allowUntrusted>
77
</server>
88
<buildScan>
9-
<!-- adjust conditions ?
10-
mvn gradle-enterprise:provision-access-key
11-
https://docs.gradle.com/enterprise/maven-extension/#publishing_based_on_criteria
12-
-->
13-
<!-- build scan publication is configured in gradle-enterprise-custom-user-data.groovy
14-
to leverage options to disable build scan publication for test builds
15-
-->
169
<!--
1710
Expression support is documented here: https://docs.gradle.com/enterprise/maven-extension/#expression_support
1811
-->
@@ -21,7 +14,7 @@
2114
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
2215
</obfuscation>
2316
<capture>
24-
<goalInputFiles>true</goalInputFiles>
17+
<fileFingerprints>true</fileFingerprints>
2518
</capture>
2619
<!-- https://docs.gradle.com/enterprise/maven-extension/#manual_access_key_configuration -->
2720
<backgroundBuildScanUpload>#{env['CI'] == null}</backgroundBuildScanUpload>
@@ -35,4 +28,4 @@
3528
<storeEnabled>#{env['CI'] != null and (env['CHANGE_ID']?:'').isBlank() and (env['GITHUB_BASE_REF']?:'').isBlank() and !(env['GRADLE_ENTERPRISE_ACCESS_KEY']?:'').isBlank()}</storeEnabled>
3629
</remote>
3730
</buildCache>
38-
</gradleEnterprise>
31+
</develocity>

.mvn/extensions.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<extensions>
22
<extension>
33
<groupId>com.gradle</groupId>
4-
<artifactId>gradle-enterprise-maven-extension</artifactId>
5-
<version>1.20.1</version>
4+
<artifactId>develocity-maven-extension</artifactId>
5+
<version>1.21</version>
66
</extension>
77
<extension>
88
<groupId>com.gradle</groupId>
99
<artifactId>common-custom-user-data-maven-extension</artifactId>
10-
<version>1.13</version>
10+
<version>2.0</version>
1111
</extension>
1212
<extension>
1313
<groupId>org.hibernate.search.develocity</groupId>
1414
<artifactId>hibernate-search-develocity-extension</artifactId>
15-
<version>1.0.13.Final</version>
15+
<version>2.0.0.Final</version>
1616
</extension>
1717
</extensions>

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To publish build scans for your local builds,
6969
and once you have one, run this from the root of your local clone of Hibernate Search:
7070

7171
```shell
72-
./mvnw gradle-enterprise:provision-access-key
72+
./mvnw com.gradle:develocity-maven-extension:provision-access-key
7373
```
7474

7575
To opt out from build scans for a particular build (e.g. when working on a security vulnerability),

0 commit comments

Comments
 (0)