-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added code snippets for gradle, gradle(short) and gradle(kotlin)
- Loading branch information
1 parent
72bcc3e
commit 0c4cec4
Showing
2 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
Submodule opentelemetry-specification
updated
21 files
+0 −13 | .github/scripts/triage-helper/Pipfile | |
+0 −398 | .github/scripts/triage-helper/Pipfile.lock | |
+0 −156 | .github/scripts/triage-helper/app.py | |
+0 −28 | .github/workflows/triage-followup.yml | |
+1 −4 | .gitignore | |
+0 −40 | CHANGELOG.md | |
+0 −4 | CONTRIBUTING.md | |
+71 −43 | issue-management.md | |
+19 −20 | spec-compliance-matrix.md | |
+0 −6 | specification/common/README.md | |
+1 −1 | specification/configuration/README.md | |
+6 −10 | specification/glossary.md | |
+27 −28 | specification/logs/bridge-api.md | |
+10 −14 | specification/logs/event-api.md | |
+0 −10 | specification/logs/event-sdk.md | |
+0 −6 | specification/logs/sdk.md | |
+17 −12 | specification/metrics/api.md | |
+9 −13 | specification/metrics/sdk.md | |
+18 −7 | specification/trace/api.md | |
+12 −23 | specification/trace/sdk.md | |
+12 −12 | specification/trace/tracestate-probability-sampling-experimental.md |
46 changes: 35 additions & 11 deletions
46
layouts/partials/ecosystem/registry/quickinstall/maven.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,37 @@ | ||
### Maven | ||
|
||
Add the following dependency in your `pom.xml` file to install this package. | ||
|
||
{{% tabpane text=true right=true %}} | ||
{{% tab header="Maven" %}} | ||
```xml | ||
<dependency> | ||
<groupId>{{ index (split .name "/") 0 }}</groupId> | ||
<artifactId>{{ index (split .name "/") 1 }}</artifactId> | ||
<version>{{ .version }}</version> | ||
</dependency> | ||
``` | ||
{{% /tab %}} | ||
{{% /tabpane %}} | ||
```xml | ||
<dependency> | ||
<groupId>{{ index (split .name "/") 0 }}</groupId> | ||
<artifactId>{{ index (split .name "/") 1 }}</artifactId> | ||
<version>{{ .version }}</version> | ||
</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(short)**: | ||
Add the following dependency in your `build.gradle` file: | ||
|
||
```groovy | ||
dependencies { | ||
implementation 'io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0:2.8.0-alpha' | ||
} | ||
``` | ||
|
||
**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") | ||
} | ||
``` | ||
|