Skip to content

Commit 7cdb3cc

Browse files
committed
Clarify script locations in README
1 parent 2c511ae commit 7cdb3cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ You can apply additional configuration beyond what is contributed by the Common
6161
The extension evaluates Groovy scripts from two locations:
6262

6363
1. A `.mvn/develocity-custom-user-data.groovy` or `.mvn/gradle-enterprise-custom-user-data.groovy` in your root project
64-
2. Any files matching `*.groovy` in the directory `~/.mvn/.develocity/custom-user-data/`
64+
2. Any `*.groovy` files in the `custom-user-data` directory, located within the [Develocity storage directory](https://docs.gradle.com/develocity/maven-extension/current/#anatomy_of_the_develocity_directory), `${user.home}/.m2/.develocity` by default
6565

66-
Any matching files are evaluated with the following bindings:
66+
All matching files are evaluated with the following bindings:
6767

6868
- `develocity/gradleEnterprise` (type: [DevelocityAdapter](https://github.com/gradle/develocity-agent-adapters/blob/main/develocity-maven-extension-adapters/src/compatibilityApi/java/com/gradle/develocity/agent/maven/adapters/DevelocityAdapter.java)): _configure Develocity_
6969
- `buildScan` (type: [BuildScanApiAdapter](https://github.com/gradle/develocity-agent-adapters/blob/main/develocity-maven-extension-adapters/src/compatibilityApi/java/com/gradle/develocity/agent/maven/adapters/BuildScanApiAdapter.java)): _configure build scan publishing and enhance build scans_
@@ -72,7 +72,7 @@ Any matching files are evaluated with the following bindings:
7272
- `project` (type: [`MavenProject`](https://maven.apache.org/ref/current/maven-core/apidocs/org/apache/maven/project/MavenProject.html)): _the top-level Maven project_
7373
- `session` (type: [`MavenSession`](https://maven.apache.org/ref/current/maven-core/apidocs/org/apache/maven/execution/MavenSession.html)): _the Maven session_
7474

75-
The Groovy scripts are evaluated in the exact order listed above, with the scripts in `~/.mvn/.develocity/custom-user-data/` being executed in alphabetical order.
75+
The Groovy scripts are evaluated in the exact order listed above, with the scripts in the `custom-user-data` directory being executed in alphabetical order.
7676

7777
See [here](.mvn/develocity-custom-user-data.groovy) for an example.
7878

0 commit comments

Comments
 (0)