Skip to content

Commit

Permalink
Fix Sentry BOM containing wrong artifacts (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
romtsn authored Jan 31, 2023
1 parent 5fa24ec commit c1399c1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fixes

- Remove authority from URLs sent to Sentry ([#2366](https://github.com/getsentry/sentry-java/pull/2366))
- Fix `sentry-bom` containing incorrect artifacts ([#2504](https://github.com/getsentry/sentry-java/pull/2504))

### Dependencies

Expand Down
17 changes: 14 additions & 3 deletions sentry-bom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,21 @@ dependencies {
.filter {
!it.name.startsWith("sentry-samples") &&
it.name != project.name &&
it.name != "sentry-test-support"
!it.name.contains("test", ignoreCase = true) &&
it.name != "sentry-compose-helper"
}
.forEach {
api(it)
.forEach { project ->
evaluationDependsOn(project.path)
project.publishing.publications
.mapNotNull { it as? MavenPublication }
.filter {
!it.artifactId.endsWith("-kotlinMultiplatform") &&
!it.artifactId.endsWith("-metadata")
}
.forEach {
val dependency = "${it.groupId}:${it.artifactId}:${it.version}"
api(dependency)
}
}
}
}
Expand Down

0 comments on commit c1399c1

Please sign in to comment.