Skip to content

Commit

Permalink
Merge pull request #29 from jGleitz/java-8-compat
Browse files Browse the repository at this point in the history
fix: set artefact compatibility to Java 8
  • Loading branch information
jGleitz committed Feb 17, 2020
2 parents aca82e4 + c2ce5ae commit 481b83d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import de.marcphilipp.gradle.nexus.NexusRepository
import org.gradle.api.JavaVersion.VERSION_1_8
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

Expand Down Expand Up @@ -48,6 +49,11 @@ tasks.named<KotlinCompile>("compileTestKotlin") {
}
}

java {
sourceCompatibility = VERSION_1_8
targetCompatibility = VERSION_1_8
}

val sourcesJar by tasks.creating(Jar::class) {
group = "build"
description = "Assembles the source code into a jar"
Expand Down

0 comments on commit 481b83d

Please sign in to comment.