From 49c3565d4c12757e9d576a6b85b26b221c07490e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Fri, 7 Jan 2022 14:54:43 +0100
Subject: [PATCH] Fix Gradle issues

---
 .../groovy/theodolite.hazelcastjet.gradle     | 29 +++++++++----------
 .../uc1-hazelcastjet/build.gradle             |  1 -
 .../uc2-hazelcastjet/build.gradle             |  1 -
 .../uc3-hazelcastjet/build.gradle             |  1 -
 .../uc4-hazelcastjet/build.gradle             |  1 -
 5 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.hazelcastjet.gradle b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.hazelcastjet.gradle
index 9a8a7bed1..2e082c541 100644
--- a/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.hazelcastjet.gradle
+++ b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.hazelcastjet.gradle
@@ -4,8 +4,6 @@ plugins {
 
   // make executable
   id 'application'
-  
-  //id "org.sonarqube" version "3.0"
 }
 
 repositories {
@@ -14,25 +12,26 @@ repositories {
     url "https://oss.sonatype.org/content/repositories/snapshots/"
   }
   maven {
-      url 'https://packages.confluent.io/maven/'
+    url 'https://packages.confluent.io/maven/'
   }
 }
 
 dependencies {
 	implementation('org.industrial-devops:titan-ccp-common:0.1.0-SNAPSHOT') { changing = true }
-    implementation('org.industrial-devops:titan-ccp-common-kafka:0.1.0-SNAPSHOT') { changing = true }
-    implementation 'com.hazelcast.jet:hazelcast-jet:4.5'
-    implementation 'com.hazelcast.jet:hazelcast-jet-kafka:4.5'
-    implementation 'com.hazelcast:hazelcast-kubernetes:2.2.2'
-    implementation 'io.confluent:kafka-avro-serializer:5.3.0'
- 	implementation 'org.slf4j:slf4j-api:1.7.25'
- 	implementation 'com.google.code.gson:gson:2.8.2'
+  implementation('org.industrial-devops:titan-ccp-common-kafka:0.1.0-SNAPSHOT') { changing = true }
+  implementation 'com.google.code.gson:gson:2.8.2'
  	implementation 'com.google.guava:guava:24.1-jre'
+  implementation 'org.slf4j:slf4j-api:1.7.25'
+  implementation 'io.confluent:kafka-avro-serializer:5.3.0'
+
+  implementation 'com.hazelcast.jet:hazelcast-jet:4.5'
+  implementation 'com.hazelcast.jet:hazelcast-jet-kafka:4.5'
+  implementation 'com.hazelcast:hazelcast-kubernetes:2.2.2'
+ 	
  	implementation project(':hazelcastjet-commons')
- 	compile 'com.hazelcast.jet:hazelcast-jet-core:4.5:tests'
-	compile 'com.hazelcast:hazelcast:4.2:tests'
-	
-	// Use JUnit test framework
-    testImplementation("junit:junit:4.13.2")
+
+  testImplementation("junit:junit:4.13.2")
+  testImplementation 'com.hazelcast:hazelcast:4.2:tests'
+ 	testImplementation 'com.hazelcast.jet:hazelcast-jet-core:4.5:tests'
 
 }
\ No newline at end of file
diff --git a/theodolite-benchmarks/uc1-hazelcastjet/build.gradle b/theodolite-benchmarks/uc1-hazelcastjet/build.gradle
index df120a50d..2643c5224 100644
--- a/theodolite-benchmarks/uc1-hazelcastjet/build.gradle
+++ b/theodolite-benchmarks/uc1-hazelcastjet/build.gradle
@@ -1,5 +1,4 @@
 plugins {
-  // hazelcastjet common stuff
   id 'theodolite.hazelcastjet'
 }
 
diff --git a/theodolite-benchmarks/uc2-hazelcastjet/build.gradle b/theodolite-benchmarks/uc2-hazelcastjet/build.gradle
index 0bb75eaf1..ee5efc5c1 100644
--- a/theodolite-benchmarks/uc2-hazelcastjet/build.gradle
+++ b/theodolite-benchmarks/uc2-hazelcastjet/build.gradle
@@ -1,5 +1,4 @@
 plugins {
-  // common java conventions
   id 'theodolite.hazelcastjet'
 }
 
diff --git a/theodolite-benchmarks/uc3-hazelcastjet/build.gradle b/theodolite-benchmarks/uc3-hazelcastjet/build.gradle
index 1f4870895..bb5dfc7ef 100644
--- a/theodolite-benchmarks/uc3-hazelcastjet/build.gradle
+++ b/theodolite-benchmarks/uc3-hazelcastjet/build.gradle
@@ -1,5 +1,4 @@
 plugins {
-  // common java conventions
   id 'theodolite.hazelcastjet'
 }
 
diff --git a/theodolite-benchmarks/uc4-hazelcastjet/build.gradle b/theodolite-benchmarks/uc4-hazelcastjet/build.gradle
index 7fd51cca2..4799d759f 100644
--- a/theodolite-benchmarks/uc4-hazelcastjet/build.gradle
+++ b/theodolite-benchmarks/uc4-hazelcastjet/build.gradle
@@ -1,5 +1,4 @@
 plugins {
-  // common java conventions
   id 'theodolite.hazelcastjet'
 }
 
-- 
GitLab