aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2022-08-30 11:38:46 +0200
committersonartech <sonartech@sonarsource.com>2022-08-31 20:03:03 +0000
commit2bc93dd037c758e4d2612101abb6c7b6d2fa4670 (patch)
treeec2f25f806a834531ad9f28b18e57f95e9c10785 /sonar-application
parent87d98049ac772e04e949e6bdeff548c6453b0248 (diff)
downloadsonarqube-2bc93dd037c758e4d2612101abb6c7b6d2fa4670.tar.gz
sonarqube-2bc93dd037c758e4d2612101abb6c7b6d2fa4670.zip
BUILD-1745 Improve bom generation time
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/build.gradle4
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'