From f2e2ab641d81c79026234a56fb64a86b9b3f334b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Sun, 5 Dec 2021 17:24:10 +0100
Subject: [PATCH] Use Java project deps in rules if

---
 .gitlab-ci.yml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e73262d62..7cd23431c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -129,14 +129,7 @@ spotbugs-benchmarks:
     - changes:
       - theodolite-benchmarks/*
       - theodolite-benchmarks/$JAVA_PROJECT_NAME/**/*
-      - theodolite-benchmarks/kstreams-commons/**/*
-      - theodolite-benchmarks/flink-commons/**/*
-      - theodolite-benchmarks/beam-commons/**/*
-      - theodolite-benchmarks/uc1-beam/**/*
-      - theodolite-benchmarks/uc2-beam/**/*
-      - theodolite-benchmarks/uc3-beam/**/*
-      - theodolite-benchmarks/uc4-beam/**/*
-      - theodolite-benchmarks/load-generator-commons/**/*
+      - theodolite-benchmarks/{$JAVA_PROJECT_DEPS}/**/*
       if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $IMAGE_NAME && $JAVA_PROJECT_NAME && $JAVA_PROJECT_DEPS"
       when: always
     - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $IMAGE_NAME && $JAVA_PROJECT_NAME"
-- 
GitLab