Skip to content

Commit

Permalink
simplify and update
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <[email protected]>
  • Loading branch information
svrnm committed Nov 11, 2024
1 parent d059939 commit 36976aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion data/registry/instrumentation-java-okhttp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ createdAt: 2020-11-05
package:
registry: maven
name: io.opentelemetry.instrumentation/opentelemetry-okhttp-3.0
version: 2.8.0-alpha
version: 2.9.0-alpha
isFirstParty: false
26 changes: 5 additions & 21 deletions layouts/partials/ecosystem/registry/quickinstall/maven.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Maven
##### Maven

Add the following dependency in your `pom.xml` file to install this package.

Expand All @@ -10,28 +10,12 @@ Add the following dependency in your `pom.xml` file to install this package.
</dependency>
```

### Gradle
Add the following dependency in your `build.gradle` file to install this package:

```groovy
implementation group: 'io.opentelemetry.instrumentation', name: 'opentelemetry-okhttp-3.0', version: '2.8.0-alpha'
```
##### Gradle

**Gradle(short)**:
Add the following dependency in your `build.gradle` file:
Add the following dependency in your `build.gradle` file to install this package:

```groovy
dependencies {
implementation 'io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0:2.8.0-alpha'
implementation '{{ index (split .name "/") 0 }}:{{ index (split .name "/") 1 }}:{{ .version }}'
}
```

**Gradle(kotlin)**:
Add the following dependency in your `build.gradle.kts` file:

```kotlin
dependencies {
implementation("io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0:2.8.0-alpha")
}
```

```

0 comments on commit 36976aa

Please sign in to comment.