Skip to content

Commit de0d7d4

Browse files
markushiclaude
andcommitted
chore: Bundle THIRD_PARTY_NOTICES.md in sentry JAR under META-INF
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 66b2234 commit de0d7d4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
### Features
66

77
- Android: Attachments on the scope will now be synced to native ([#5211](https://github.com/getsentry/sentry-java/pull/5211))
8-
- Add THIRD_PARTY_NOTICES.md for vendored third-party code ([#5186](https://github.com/getsentry/sentry-java/pull/5186))
8+
- Add THIRD_PARTY_NOTICES.md for vendored third-party code, bundled as SENTRY_THIRD_PARTY_NOTICES.md in the sentry JAR under META-INF ([#5186](https://github.com/getsentry/sentry-java/pull/5186))
99

1010
## 8.37.1
1111

sentry/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ tasks.withType<JavaCompile>().configureEach {
9595
}
9696

9797
tasks.jar {
98+
from(rootProject.file("THIRD_PARTY_NOTICES.md")) {
99+
into("META-INF")
100+
rename { "SENTRY_THIRD_PARTY_NOTICES.md" }
101+
}
98102
manifest {
99103
attributes(
100104
"Sentry-Version-Name" to project.version,

0 commit comments

Comments
 (0)