From 917f7a8cc6a408704b5b2210edea77890cb24625 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Vonheiden?= <bjoern.vonheiden@hotmail.de>
Date: Sun, 14 Mar 2021 18:48:59 +0100
Subject: [PATCH] move shadow jar buildscript to flink convention plugin

---
 theodolite-benchmarks/build.gradle          | 13 -------------
 theodolite-benchmarks/buildSrc/build.gradle | 12 ++++++++++++
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/theodolite-benchmarks/build.gradle b/theodolite-benchmarks/build.gradle
index 3d980c333..cd2ca9855 100644
--- a/theodolite-benchmarks/build.gradle
+++ b/theodolite-benchmarks/build.gradle
@@ -1,16 +1,3 @@
-// Inherited to all subprojects
-// Make shadow plugin available, used for flink
-buildscript {
-  repositories {
-    maven {
-      url "https://plugins.gradle.org/m2/"
-    }
-  }
-  dependencies {
-    classpath "com.github.jengelman.gradle.plugins:shadow:6.0.0"
-  }
-}
-
 // Plugins
 allprojects {
   apply plugin: 'eclipse'
diff --git a/theodolite-benchmarks/buildSrc/build.gradle b/theodolite-benchmarks/buildSrc/build.gradle
index f6acd3b4c..4c099de32 100644
--- a/theodolite-benchmarks/buildSrc/build.gradle
+++ b/theodolite-benchmarks/buildSrc/build.gradle
@@ -1,3 +1,14 @@
+buildscript {
+  repositories {
+    maven {
+      url "https://plugins.gradle.org/m2/"
+    }
+  }
+  dependencies {
+    classpath "com.github.jengelman.gradle.plugins:shadow:6.0.0"
+  }
+}
+
 // to discover the precompiled script plugins
 plugins {
     id 'groovy-gradle-plugin'
@@ -9,4 +20,5 @@ repositories {
 
 dependencies {
     implementation 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.6.0'
+    implementation 'com.github.jengelman.gradle.plugins:shadow:6.0.0'
 }
-- 
GitLab