Instead of configuring subproject via the wacky taskExtension (which maybe should be limited to use only for mapping maven deps). We have a companion plugin to org.spdx.sbom called org.spdx.sbom-package that can be applied to sub projects to configure their properties.
subproject/build.gradle.kts
plugins {
...
id("org.spdx.sbom-package")
}
spdxPackage {
name.set(...)
version.set(...)
supplier/creator... whatever
scm {
...
}
}
Instead of configuring subproject via the wacky taskExtension (which maybe should be limited to use only for mapping maven deps). We have a companion plugin to
org.spdx.sbomcalledorg.spdx.sbom-packagethat can be applied to sub projects to configure their properties.subproject/build.gradle.kts