Skip to content

Commit

Permalink
Merge pull request #9 from iodigital-com/ci-fix
Browse files Browse the repository at this point in the history
Only task to leave projects
  • Loading branch information
crysxd authored Nov 4, 2024
2 parents f8c7c0c + eddbb25 commit 7367641
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ class GradleBomPlugin : Plugin<Project> {
.distinct()
.sorted()
.forEach { config ->
project.tasks.register(
"generate${config.replaceFirstChar { it.uppercase() }}Bom",
SpecificGenerateModuleBomTask::class.java,
config
)
if (project.subprojects.isEmpty()) {
project.tasks.register(
"generate${config.replaceFirstChar { it.uppercase() }}Bom",
SpecificGenerateModuleBomTask::class.java,
config
)
}
}

subprojects.forEach { sub ->
Expand Down

0 comments on commit 7367641

Please sign in to comment.