File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ dependencies {
37
37
Java 17 or higher is required to build the projects in this repository. The built artifacts can be
38
38
used on Java 8 or higher.
39
39
40
+ To use this artifact you must also depend on ` io.opentelemetry:opentelemetry-api:{{version}} ` .
41
+ See [ opentelemetry-java releases] ( https://github.com/open-telemetry/opentelemetry-java#releases ) for
42
+ more information.
43
+
40
44
## Generating semantic conventions
41
45
42
46
Requires docker.
Original file line number Diff line number Diff line change @@ -54,9 +54,12 @@ nexusPublishing {
54
54
}
55
55
}
56
56
57
+ val opentelemetryJavaVersion = " 1.31.0"
58
+
57
59
dependencies {
58
- implementation(platform(" io.opentelemetry:opentelemetry-bom:1.31.0" ))
59
- implementation(" io.opentelemetry:opentelemetry-api" )
60
+ compileOnly(" io.opentelemetry:opentelemetry-api:$opentelemetryJavaVersion " )
61
+
62
+ testImplementation(" io.opentelemetry:opentelemetry-api:$opentelemetryJavaVersion " )
60
63
61
64
testImplementation(platform(" org.junit:junit-bom:5.10.0" ))
62
65
testImplementation(" org.junit.jupiter:junit-jupiter-api" )
You can’t perform that action at this time.
0 commit comments