diff options
-rw-r--r-- | sonar-application/build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle index 9dcb2311151..6fbdd17d3ab 100644 --- a/sonar-application/build.gradle +++ b/sonar-application/build.gradle @@ -338,7 +338,9 @@ cyclonedxBom { includeConfigs += ["runtimeClasspath", "web", "shutdowner", "jdbc_mssql", "jdbc_postgresql", "jdbc_h2", "bundledPlugin_deps", "cyclonedx"] outputs.file bomFile - outputs.upToDateWhen { false } +} +tasks.cyclonedxBom { + inputs.files(configurations.runtimeClasspath) } def bomArtifact = artifacts.add('archives', bomFile.get().asFile) { type 'json' |