diff --git a/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle
index d3bd08f6f0915b3682126dd2c51ed80c3d0c2a99..73e916ccc867b9b3316776192f0dab56fa0710f0 100644
--- a/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle
+++ b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.beam.samza.gradle
@@ -3,5 +3,7 @@ plugins {
 }
 
 dependencies {
-    compile group: 'org.apache.beam', name: 'beam-runners-samza', version: '2.22.0'
+    implementation('org.apache.beam:beam-runners-samza:2.22.0') {
+        exclude group: 'org.apache.samza', module: 'samza-yarn_2.11'
+    }
 }
\ No newline at end of file