From 77c07072292866d085f5089f4b75e1e4567dbd1c Mon Sep 17 00:00:00 2001 From: Patrick Mirwald Date: Thu, 1 Feb 2024 13:45:13 +0100 Subject: [PATCH] chore(plugin): remove riskScore Task from runDepTrackWorkflow --- src/main/kotlin/com/liftric/dtcp/DepTrackCompanionPlugin.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/liftric/dtcp/DepTrackCompanionPlugin.kt b/src/main/kotlin/com/liftric/dtcp/DepTrackCompanionPlugin.kt index e12e048..cb45f52 100644 --- a/src/main/kotlin/com/liftric/dtcp/DepTrackCompanionPlugin.kt +++ b/src/main/kotlin/com/liftric/dtcp/DepTrackCompanionPlugin.kt @@ -87,14 +87,13 @@ class DepTrackCompanionPlugin : Plugin { task.projectName.set(extension.projectName) task.projectVersion.set(extension.projectVersion) task.riskScore.set(extension.riskScoreData) - task.mustRunAfter(uploadVex) } project.tasks.register("runDepTrackWorkflow") { task -> task.group = taskGroup task.description = - "Runs uploadSbom, generateVex and uploadVex for CI/CD" - task.dependsOn(generateSbom, uploadSbom, generateVex, uploadVex, riskScore) + "Runs generateSbom, uploadSbom, generateVex, uploadVex for CI/CD integration" + task.dependsOn(generateSbom, uploadSbom, generateVex, uploadVex) } project.tasks.register("getOutdatedDependencies", GetOutdatedDependenciesTask::class.java) { task ->