Skip to content

Commit 57d5492

Browse files
authored
Merge branch 'main' into copilot/fix-88
2 parents fd325f0 + ea4d093 commit 57d5492

File tree

5 files changed

+3
-30
lines changed

5 files changed

+3
-30
lines changed

agent/agent-bootstrap/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/InstrumenterBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import java.util.stream.Stream;
4040
import javax.annotation.Nullable;
4141

42-
// copied from OpenTelemetry Instrumentation 2.6.0
42+
// copied from OpenTelemetry Instrumentation 2.17.1
4343

4444
/**
4545
* A builder of an {@link Instrumenter}.

agent/agent-tooling/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ dependencies {
8383
testImplementation("org.assertj:assertj-core")
8484
testImplementation("org.awaitility:awaitility")
8585
testImplementation("org.mockito:mockito-core")
86-
testImplementation("io.github.hakky54:logcaptor")
8786

8887
testCompileOnly("com.google.code.findbugs:jsr305")
8988
}

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
id("idea")
33

4-
id("com.github.ben-manes.versions") version "0.51.0"
54
id("ai.spotless-conventions")
65
}
76

classic-sdk/core/src/main/java/com/microsoft/applicationinsights/telemetry/BaseTelemetry.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public TelemetryContext getContext() {
3939
}
4040

4141
/**
42-
* Gets a map of application-defined property names and values providing additional
43-
* information about this event.
42+
* Gets a map of application-defined property names and values providing additional information
43+
* about this event.
4444
*/
4545
@Override
4646
public Map<String, String> getProperties() {

dependencyManagement/build.gradle.kts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
2-
31
plugins {
42
`java-platform`
5-
6-
id("com.github.ben-manes.versions") version "0.51.0"
73
}
84

95
data class DependencySet(val group: String, val version: String, val modules: List<String>)
@@ -64,14 +60,12 @@ val CORE_DEPENDENCIES = listOf(
6460
val DEPENDENCIES = listOf(
6561
"ch.qos.logback:logback-classic:1.3.15", // logback 1.4+ requires Java 11+
6662
"ch.qos.logback.contrib:logback-json-classic:0.1.5",
67-
"com.uber.nullaway:nullaway:0.12.7",
6863
"commons-codec:commons-codec:1.18.0",
6964
"org.apache.commons:commons-text:1.13.1",
7065
"com.google.code.gson:gson:2.13.1",
7166
"com.azure:azure-core-test:1.26.2", // this is not included in azure-sdk-bom
7267
"org.assertj:assertj-core:3.27.3",
7368
"org.awaitility:awaitility:4.3.0",
74-
"io.github.hakky54:logcaptor:2.11.0",
7569
"io.opentelemetry.contrib:opentelemetry-jfr-connection:${otelContribVersion}-alpha",
7670
"io.opentelemetry.contrib:opentelemetry-runtime-attach-core:${otelContribVersion}-alpha",
7771
"com.google.code.findbugs:jsr305:3.0.2",
@@ -103,22 +97,3 @@ dependencies {
10397
}
10498
}
10599
}
106-
107-
fun isNonStable(version: String): Boolean {
108-
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.uppercase().contains(it) }
109-
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
110-
val isGuava = version.endsWith("-jre")
111-
val isStable = stableKeyword || regex.matches(version) || isGuava
112-
return isStable.not()
113-
}
114-
115-
tasks {
116-
named<DependencyUpdatesTask>("dependencyUpdates") {
117-
revision = "release"
118-
checkConstraints = true
119-
120-
rejectVersionIf {
121-
isNonStable(candidate.version)
122-
}
123-
}
124-
}

0 commit comments

Comments
 (0)