Skip to content
Snippets Groups Projects
Commit a9075c3b authored by SeeBasTStick's avatar SeeBasTStick
Browse files

pimped up jvm target from 1.6 to 1.8

parent 0ce436b5
Branches
Tags
No related merge requests found
...@@ -24,6 +24,8 @@ repositories { ...@@ -24,6 +24,8 @@ repositories {
} }
dependencies { dependencies {
// Align versions of all Kotlin components // Align versions of all Kotlin components
implementation(platform("org.jetbrains.kotlin:kotlin-bom")) implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
...@@ -60,11 +62,20 @@ dependencies { ...@@ -60,11 +62,20 @@ dependencies {
} }
tasks.test { tasks.test {
useJUnitPlatform() useJUnitPlatform()
} }
val gitVersion: groovy.lang.Closure<*> by extra val gitVersion: groovy.lang.Closure<*> by extra
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>(){
kotlinOptions.jvmTarget = "1.8"
}
tasks.shadowJar{ tasks.shadowJar{
// this.version = gitVersion().toString() // this.version = gitVersion().toString()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment