Skip to content

Commit

Permalink
Merge pull request #971 from hmrc/BDOG-3285
Browse files Browse the repository at this point in the history
BDOG-3285 add nodejs and java to service dependencies list
  • Loading branch information
Shnick authored Dec 3, 2024
2 parents 771d608 + d498c8e commit 6fb5d18
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,21 @@
}

@defining(optEnvData.toSeq.flatMap(_.repoModules).flatMap(_.allDependencies)){ dependencies =>
@defining(dependencies.filter(_.scope == DependencyScope.Build)) { buildDependencies =>
@if(buildDependencies.nonEmpty) {
<div class="row">
<div class="col-md-12">
@dependenciesPartial(
buildDependencies
, s"build-dependencies-${slugInfoFlag.asString}"
, "Build"
, optEnvData.map(envData => (serviceName, envData.version))
)
</div>
</div>
}
}

<div class="row">
<div class="col-md-12">
@{
Expand Down Expand Up @@ -139,21 +154,6 @@
</div>
}
}

@defining(dependencies.filter(_.scope == DependencyScope.Build)) { buildDependencies =>
@if(buildDependencies.nonEmpty) {
<div class="row">
<div class="col-md-12">
@dependenciesPartial(
buildDependencies
, s"build-dependencies-${slugInfoFlag.asString}"
, "Sbt Plugins"
, optEnvData.map(envData => (serviceName, envData.version))
)
</div>
</div>
}
}
}
</div>
}
Expand Down

0 comments on commit 6fb5d18

Please sign in to comment.