Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
feat(sca): add lost dep version
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 23, 2022
1 parent b7b98b0 commit aec940e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -42,7 +42,8 @@ private fun DepDeclaration.toCompositionDependency(systemId: String): List<Compo
depName = it.name,
depArtifact = it.artifact,
depGroup = it.group,
depScope = it.scope.toString()
depScope = it.scope.toString(),
depVersion = it.version.toString()
)
}.toList()
}
Expand Down
Expand Up @@ -16,7 +16,8 @@ data class CompositionDependency(
@Sql("dep_artifact") val depArtifact: String,
@Sql("dep_metadata") val depMetadata: String = "",
@Sql("dep_source") val depSource: String = "",
@Sql("dep_scope") val depScope: String
@Sql("dep_scope") val depScope: String,
@Sql("dep_version") val depVersion: String
)

@Target(AnnotationTarget.CLASS, AnnotationTarget.PROPERTY)
Expand Down

0 comments on commit aec940e

Please sign in to comment.