Skip to content

Commit 5a6991a

Browse files
runningcodeclaude
andauthored
build(deps): Bump Shadow to 9.6.1 (#6617)
Shadow 9.6 marks DependencyFilter with a DSL marker. The agent's dependencies { exclude("group:name") } calls had always resolved to the outer ShadowJar.exclude(String) file pattern, so they never excluded anything. They now fail to compile. javaagentLibs has none of those artifacts, so drop the block. Jar contents are unchanged. Shadow 9.5's KotlinModuleMetadataTransformer reorders *.kotlin_module entries and drops their Unix mode, and the shadowRuntimeElements variant now comes first in the .module file. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c9865ce commit 5a6991a

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

‎gradle/libs.versions.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
8686
gretty = { id = "org.gretty", version = "4.0.0" }
8787
animalsniffer = { id = "ru.vyarus.animalsniffer", version.ref = "animalsniffer" }
8888
sentry = { id = "io.sentry.android.gradle", version.ref = "sagp"}
89-
shadow = { id = "com.gradleup.shadow", version = "9.4.1" }
89+
shadow = { id = "com.gradleup.shadow", version = "9.6.1" }
9090

9191
[libraries]
9292
animalsniffer-gradle-plugin = { module = "ru.vyarus:gradle-animalsniffer-plugin", version.ref = "animalsniffer" }

‎sentry-opentelemetry/sentry-opentelemetry-agent/build.gradle.kts‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,6 @@ tasks {
134134
mergeServiceFiles()
135135
exclude("**/module-info.class")
136136
relocatePackages(this)
137-
138-
// exclude known bootstrap dependencies - they can't appear in the inst/ directory
139-
dependencies {
140-
exclude("org.slf4j:slf4j-api")
141-
exclude("io.opentelemetry:opentelemetry-api")
142-
exclude("io.opentelemetry:opentelemetry-api-logs")
143-
exclude("io.opentelemetry:opentelemetry-context")
144-
exclude("io.opentelemetry:opentelemetry-semconv")
145-
}
146137
}
147138

148139
// 2. the distro javaagent libs are then isolated - moved to the inst/ directory

0 commit comments

Comments
 (0)