Skip to content

Commit 481b83d

Browse files
authored
Merge pull request #29 from jGleitz/java-8-compat
fix: set artefact compatibility to Java 8
2 parents aca82e4 + c2ce5ae commit 481b83d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import de.marcphilipp.gradle.nexus.NexusRepository
2+
import org.gradle.api.JavaVersion.VERSION_1_8
23
import org.jetbrains.dokka.gradle.DokkaTask
34
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
45

@@ -48,6 +49,11 @@ tasks.named<KotlinCompile>("compileTestKotlin") {
4849
}
4950
}
5051

52+
java {
53+
sourceCompatibility = VERSION_1_8
54+
targetCompatibility = VERSION_1_8
55+
}
56+
5157
val sourcesJar by tasks.creating(Jar::class) {
5258
group = "build"
5359
description = "Assembles the source code into a jar"

0 commit comments

Comments
 (0)