Skip to content

Commit

Permalink
Merge pull request #604 from MarathonLabs/fix/jvm8
Browse files Browse the repository at this point in the history
fix(marathon-gradle-plugin): explicitly specify JVM 8 as the target
  • Loading branch information
Malinskiy authored Feb 8, 2022
2 parents e301ffb + 0f09de2 commit 1c901c1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions marathon-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
`java-gradle-plugin`
`kotlin-dsl`
Expand Down Expand Up @@ -46,3 +48,8 @@ tasks.processResources.configure {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
dependsOn(rootProject.project("cli").tasks.getByName("distZip"))
}

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.apiVersion = "1.5"
}

0 comments on commit 1c901c1

Please sign in to comment.