Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {

// When updating, update above in plugins too
implementation("com.diffplug.spotless:spotless-plugin-gradle:8.9.0")
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.5.5")
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.5.9")
implementation("com.gradleup.shadow:shadow-gradle-plugin:9.5.1")

implementation("org.owasp:dependency-check-gradle:12.2.2")
Expand Down
12 changes: 12 additions & 0 deletions gradle/spotbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@
<Class name="com.microsoft.applicationinsights.diagnostics.collection.libos.os.linux.LinuxKernelStats"/>
<Bug pattern="CT_CONSTRUCTOR_THROW"/> <!-- inner class exception thrown in constructor can be ignored -->
</Match>
<Match>
<Class name="com.microsoft.applicationinsights.agent.internal.processors.DelegatingLogData"/>
<Bug pattern="CT_CONSTRUCTOR_THROW"/> <!-- inner class exception thrown in constructor can be ignored -->
</Match>
<Match>
<Class name="com.microsoft.applicationinsights.agent.internal.perfcounter.PerformanceCounterContainer"/>
<Bug pattern="USO_UNSAFE_OBJECT_SYNCHRONIZATION"/> <!-- agent internal singleton, not reachable by untrusted code -->
</Match>
<Match>
<Class name="com.microsoft.applicationinsights.agent.internal.diagnostics.status.StatusFile"/>
<Bug pattern="USO_UNSAFE_ACCESSIBLE_OBJECT_SYNCHRONIZATION"/> <!-- private lock only exposed via a synthetic accessor for a nested class -->
</Match>
<Match>
<Class name="com.microsoft.applicationinsights.agent.internal.diagnostics.status.StatusFile"/>
<Bug pattern="ENV_USE_PROPERTY_INSTEAD_OF_ENV"/> <!-- inner class use env var 'HOME' instead of 'user.home' can be ignored -->
Expand Down