Forcing outputName on gradle-sbom (v2.9.3) failed
## Describe the bug On version 2.9.3, forcing gradle-bom output filename failed : https://gitlab.com/to-be-continuous/gradle/-/commit/66c63bd4a56d7f7550c35ec496cd4a2ae89d0446#816642b185f4ff7fce833f7a1612d426717b5bd0_624_621 BOM file generated by cyclonedx is now "bom.json.json" instead of "bom.json" ## Expected behavior BOM file generated by cyclonedx should be "bom.json" ## Actual behavior BOM file generated by cyclonedx is "bom.json.json" ## Context & Configuration The issue was reproduced using gradle-sbom : * Version of the template: 2.9.3 ## Fix proposition Split "bom.json" into outputName and outputFormat : ` afterEvaluate { project -> project.apply plugin: 'org.cyclonedx.bom' project.cyclonedxBom { outputName = "bom" outputFormat = "json" } } `
issue