Skip to content

Commit d4fbfab

Browse files
committed
Add versions to SentryExternalDependenciesReportTaskV2
1 parent 8b9f966 commit d4fbfab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixes
66

77
- Enable caching for BundleSourcesTask ([#894](https://github.com/getsentry/sentry-android-gradle-plugin/pull/894)
8+
- Add versions to SentryExternalDependenciesReport ([#916](https://github.com/getsentry/sentry-android-gradle-plugin/pull/916))
89

910
### Dependencies
1011

plugin-build/src/main/kotlin/io/sentry/android/gradle/tasks/dependencies/SentryExternalDependenciesReportTaskV2.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ abstract class SentryExternalDependenciesReportTaskV2 : DirectoryOutputTask() {
6767
.filterIsInstance<ModuleComponentIdentifier>()
6868
// and those that have proper version defined (e.g. flat jars don't have it)
6969
.filter { id -> id.version.isNotEmpty() }
70-
.map { id -> id.displayName }
70+
.map { component -> "${component.group}:${component.module}:${component.version}" }
7171
}
7272
task.artifactIds.set(artifactIds)
7373
task.includeReport.set(includeReport)

0 commit comments

Comments
 (0)