-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gradle plugin for SDK extensions (open-telemetry#6558)
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SDK extensions are very similar to library instrumentations, they can be used without the javaagent | ||
// but since they depend on the SDK they must be loaded by the agent CL in the javaagent | ||
|
||
plugins { | ||
id("io.opentelemetry.instrumentation.library-instrumentation") | ||
|
||
id("otel.jacoco-conventions") | ||
id("otel.java-conventions") | ||
id("otel.publish-conventions") | ||
} | ||
|
||
extra["mavenGroupId"] = "io.opentelemetry.instrumentation" | ||
|
||
base.archivesName.set(projectDir.parentFile.name) |
2 changes: 1 addition & 1 deletion
2
instrumentation/spring/spring-boot-resources/library/build.gradle.kts
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,5 +1,5 @@ | ||
plugins { | ||
id("otel.library-instrumentation") | ||
id("otel.sdk-extension") | ||
} | ||
|
||
dependencies { | ||
|
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