Skip to content

Commit

Permalink
deps: update ort to v34
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-apoapsis-bot authored and sschuberth committed Oct 3, 2024
1 parent 7197644 commit bfe91f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ log4j = "2.24.1"
logback = "1.5.8"
micrometer = "1.13.5"
mockk = "1.13.12"
ort = "33.1.0"
ort = "34.0.0"
postgres = "42.7.4"
qpidJmsClient = "2.6.0"
schemaKenerator = "1.2.3"
Expand Down
4 changes: 2 additions & 2 deletions workers/common/src/main/kotlin/common/OrtMappings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ fun OrtDefect.mapToModel() =
fun OrtDependencyGraph.mapToModel() =
DependencyGraph(
packages = packages.map { it.mapToModel() },
nodes = nodes?.map { it.mapToModel() }.orEmpty(),
edges = edges?.mapTo(mutableSetOf()) { it.mapToModel() }.orEmpty(),
nodes = nodes.map { it.mapToModel() },
edges = edges.mapTo(mutableSetOf()) { it.mapToModel() },
scopes = scopes.mapValues { (_, indices) -> indices.map { it.mapToModel() } }
)

Expand Down

0 comments on commit bfe91f3

Please sign in to comment.