Reduce dependabot
MODIFY
examples/distro/build.gradle
examples/distro/build.gradle
@@ -34,7 +34,8 @@ subprojects {
opentelemetryJavaagentAlpha: "1.20.0-alpha-SNAPSHOT",
bytebuddy : "1.12.18",
- autoservice : "1.0.1"
+ autoservice : "1.0.1",
+ junit : "5.9.1"
]
deps = [
@@ -64,9 +65,9 @@ subprojects {
dependencies {
testImplementation("org.mockito:mockito-core:4.9.0")
- testImplementation(enforcedPlatform("org.junit:junit-bom:5.9.1"))
- testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.1")
- testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.1")
+ testImplementation(enforcedPlatform("org.junit:junit-bom:${versions.junit}"))
+ testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}")
+ testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}")
}
tasks {

MODIFY
examples/distro/smoke-tests/build.gradle
examples/distro/smoke-tests/build.gradle
@@ -8,7 +8,7 @@ dependencies {
testImplementation("com.google.protobuf:protobuf-java-util:3.21.9")
testImplementation("com.squareup.okhttp3:okhttp:4.10.0")
testImplementation("io.opentelemetry.proto:opentelemetry-proto:0.19.0-alpha")
- testImplementation("io.opentelemetry:opentelemetry-api:1.20.1")
+ testImplementation("io.opentelemetry:opentelemetry-api:${versions.opentelemetry}")
testImplementation("ch.qos.logback:logback-classic:1.4.4")
}

MODIFY
examples/extension/build.gradle
examples/extension/build.gradle
@@ -28,6 +28,8 @@ ext {
// these lines are managed by .github/scripts/update-version.sh
opentelemetryJavaagent : "1.20.0-SNAPSHOT",
opentelemetryJavaagentAlpha: "1.20.0-alpha-SNAPSHOT",
+
+ junit : "5.9.1"
]
deps = [
@@ -98,8 +100,8 @@ dependencies {
testImplementation("io.opentelemetry:opentelemetry-api:${versions.opentelemetry}")
testImplementation("io.opentelemetry.proto:opentelemetry-proto:0.19.0-alpha")
- testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.1")
- testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.1")
+ testImplementation("org.junit.jupiter:junit-jupiter-api:${versions.junit}")
+ testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${versions.junit}")
testRuntimeOnly("ch.qos.logback:logback-classic:1.4.4")
//Otel Java instrumentation that we use and extend during integration tests

Reduce dependabot (#7191)

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>