From 2e825d4049368f37a8cd31764cef666a3f014aeb Mon Sep 17 00:00:00 2001
From: lorenz <stu203404@mail.uni-kiel.de>
Date: Tue, 30 Nov 2021 11:37:01 +0100
Subject: [PATCH] Add beam shamza plugin for shared runner version

---
 .../buildSrc/src/main/groovy/theodolite.beam.samza.gradle  | 7 +++++++
 theodolite-benchmarks/uc1-beam-samza/build.gradle          | 3 +--
 theodolite-benchmarks/uc2-beam-samza/build.gradle          | 3 +--
 theodolite-benchmarks/uc3-beam-samza/build.gradle          | 3 +--
 theodolite-benchmarks/uc4-beam-samza/build.gradle          | 3 +--
 5 files changed, 11 insertions(+), 8 deletions(-)
 create mode 100644 theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle

diff --git a/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle
new file mode 100644
index 000000000..d3bd08f6f
--- /dev/null
+++ b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle
@@ -0,0 +1,7 @@
+plugins {
+    id 'theodolite.beam'
+}
+
+dependencies {
+    compile group: 'org.apache.beam', name: 'beam-runners-samza', version: '2.22.0'
+}
\ No newline at end of file
diff --git a/theodolite-benchmarks/uc1-beam-samza/build.gradle b/theodolite-benchmarks/uc1-beam-samza/build.gradle
index 18eec3bd7..b03697731 100644
--- a/theodolite-benchmarks/uc1-beam-samza/build.gradle
+++ b/theodolite-benchmarks/uc1-beam-samza/build.gradle
@@ -1,9 +1,8 @@
 plugins {
-  id 'theodolite.beam'
+  id 'theodolite.beam.samza'
 }
 
 dependencies {
-  compile group: 'org.apache.beam', name: 'beam-runners-samza', version: '2.22.0'
   compile project(':uc1-beam')
 }
 
diff --git a/theodolite-benchmarks/uc2-beam-samza/build.gradle b/theodolite-benchmarks/uc2-beam-samza/build.gradle
index 2da9a14ff..8d619f188 100644
--- a/theodolite-benchmarks/uc2-beam-samza/build.gradle
+++ b/theodolite-benchmarks/uc2-beam-samza/build.gradle
@@ -1,10 +1,9 @@
 plugins {
-  id 'theodolite.beam'
+  id 'theodolite.beam.samza'
 }
 
 
 dependencies {
-  compile group: 'org.apache.beam', name: 'beam-runners-samza', version: '2.22.0'
   compile project(':uc2-beam')
 }
 
diff --git a/theodolite-benchmarks/uc3-beam-samza/build.gradle b/theodolite-benchmarks/uc3-beam-samza/build.gradle
index 3673058cd..caa07077c 100644
--- a/theodolite-benchmarks/uc3-beam-samza/build.gradle
+++ b/theodolite-benchmarks/uc3-beam-samza/build.gradle
@@ -1,10 +1,9 @@
 plugins {
-  id 'theodolite.beam'
+  id 'theodolite.beam.samza'
 }
 
 
 dependencies {
-  compile group: 'org.apache.beam', name: 'beam-runners-samza', version: '2.22.0'
   compile project(':uc3-beam')
 }
 
diff --git a/theodolite-benchmarks/uc4-beam-samza/build.gradle b/theodolite-benchmarks/uc4-beam-samza/build.gradle
index 7a3184836..3a931ecea 100644
--- a/theodolite-benchmarks/uc4-beam-samza/build.gradle
+++ b/theodolite-benchmarks/uc4-beam-samza/build.gradle
@@ -1,9 +1,8 @@
 plugins {
-  id 'theodolite.beam'
+  id 'theodolite.beam.samza'
 }
 
 dependencies {
-  compile group: 'org.apache.beam', name: 'beam-runners-samza', version: '2.22.0'
   compile project(':uc4-beam')
 }
 
-- 
GitLab