|
@@ -154,7 +154,7 @@ plugins.withId("maven-publish") {
|
|
|
}
|
|
|
|
|
|
configurations.configureEach {
|
|
|
- if (name.toLowerCase().endsWith("testruntimeclasspath")) {
|
|
|
+ if (name.endsWith("testruntimeclasspath", ignoreCase = true)) {
|
|
|
// Added by agent, don't let Gradle bring it in when running tests.
|
|
|
exclude("io.opentelemetry.javaagent", "opentelemetry-javaagent-bootstrap")
|
|
|
}
|