Skip to content

Commit

Permalink
style(maven): Slightly reformat code to match similar code
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Nov 14, 2024
1 parent dcc97a0 commit 959b3af
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions plugins/package-managers/maven/src/main/kotlin/Maven.kt
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,11 @@ class Maven(
version = mavenProject.version
)

projectBuildingResult.dependencies.filterNot { excludes.isScopeExcluded(it.dependency.scope) }
.forEach { node ->
graphBuilder.addDependency(DependencyGraph.qualifyScope(projectId, node.dependency.scope), node)
}
projectBuildingResult.dependencies.filterNot {
excludes.isScopeExcluded(it.dependency.scope)
}.forEach { node ->
graphBuilder.addDependency(DependencyGraph.qualifyScope(projectId, node.dependency.scope), node)
}

val declaredLicenses = parseLicenses(mavenProject)
val declaredLicensesProcessed = processDeclaredLicenses(declaredLicenses)
Expand Down

0 comments on commit 959b3af

Please sign in to comment.