Skip to content

Commit

Permalink
Use Micrometer version for Micrometer dependency examples in referenc…
Browse files Browse the repository at this point in the history
…e docs

See gh-5093
  • Loading branch information
izeye committed Nov 10, 2024
1 parent 269fab3 commit f3800dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/implementations/_install.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ For Gradle, add the following implementation:

[source,groovy,subs=+attributes]
----
implementation 'io.micrometer:micrometer-registry-{system}:latest.release'
implementation 'io.micrometer:micrometer-registry-{system}:{micrometer-version}'
----

For Maven, add the following dependency:
Expand All @@ -15,6 +15,6 @@ For Maven, add the following dependency:
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-{system}</artifactId>
<version>${micrometer.version}</version>
<version>{micrometer-version}</version>
</dependency>
----
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/implementations/datadog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For Gradle, add the following implementation:

[source,groovy]
----
implementation 'io.micrometer:micrometer-registry-datadog:latest.release'
implementation 'io.micrometer:micrometer-registry-datadog:{micrometer-version}'
----

For Maven, add the following dependency:
Expand All @@ -27,7 +27,7 @@ For Maven, add the following dependency:
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-datadog</artifactId>
<version>${micrometer.version}</version>
<version>{micrometer-version}</version>
</dependency>
----

Expand Down Expand Up @@ -80,7 +80,7 @@ For Gradle, add the following implementation:

[source,groovy,subs=+attributes]
----
implementation 'io.micrometer:micrometer-registry-statsd:latest.release'
implementation 'io.micrometer:micrometer-registry-statsd:{micrometer-version}'
----

For Maven, add the following dependency:
Expand All @@ -90,7 +90,7 @@ For Maven, add the following dependency:
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-statsd</artifactId>
<version>${micrometer.version}</version>
<version>{micrometer-version}</version>
</dependency>
----

Expand Down
3 changes: 2 additions & 1 deletion docs/modules/ROOT/pages/reference/java-httpclient.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For Gradle, add the following implementation:

[source,groovy,subs=+attributes]
----
implementation 'io.micrometer:micrometer-java11'
implementation 'io.micrometer:micrometer-java11:{micrometer-version}'
----

For Maven, add the following dependency:
Expand All @@ -16,6 +16,7 @@ For Maven, add the following dependency:
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-java11</artifactId>
<version>{micrometer-version}</version>
</dependency>
----

Expand Down

0 comments on commit f3800dd

Please sign in to comment.