Skip to content

Commit cd77b11

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

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-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
89

910
### Dependencies
1011

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ 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 ->
71+
"${component.group}:${component.module}:${component.version}"
72+
}
7173
}
7274
task.artifactIds.set(artifactIds)
7375
task.includeReport.set(includeReport)

0 commit comments

Comments
 (0)