From a9075c3b9e7c1cc24db737372b6dd6be4cef5d04 Mon Sep 17 00:00:00 2001
From: SeeBasTStick <sebastian.stock@hhu.de>
Date: Thu, 3 Sep 2020 11:16:29 +0200
Subject: [PATCH] pimped up jvm target from 1.6 to 1.8

---
 build.gradle.kts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/build.gradle.kts b/build.gradle.kts
index 36c6a8e..f02ca54 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -24,6 +24,8 @@ repositories {
 
 }
 
+
+
 dependencies {
     // Align versions of all Kotlin components
     implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
@@ -60,11 +62,20 @@ dependencies {
 }
 
 
+
+
+
 tasks.test {
     useJUnitPlatform()
 }
 
 val gitVersion: groovy.lang.Closure<*> by extra
+
+tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>(){
+    kotlinOptions.jvmTarget = "1.8"
+}
+
+
 tasks.shadowJar{
   //  this.version = gitVersion().toString()
 }
-- 
GitLab