Build: Refactor sbom configuration & wire it with main publication

This commit is contained in:
Vyacheslav Gerasimov
2023-05-24 11:11:02 +02:00
committed by Space Team
parent 18f52832f5
commit e0a477f16d
9 changed files with 61 additions and 48 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ ext.configurePublishing = { Project project, configure = { } ->
}
}
ext.configureSbom = { Project project, String moduleName = project.name, Iterable<String> gradleConfigurations = ["runtimeClasspath"] ->
SbomKt.configureSbom(project, moduleName, gradleConfigurations)
ext.configureSbom = { Project project, String target = null, String documentTitle = null, Iterable<String> gradleConfigurations = ["runtimeClasspath"] ->
SbomKt.configureSbom(project, target, documentTitle, gradleConfigurations)
}
ext.configureFrontendIr = { Project project ->