Skip to content

Commit

Permalink
Added explicit java compilation target for Kotlin build
Browse files Browse the repository at this point in the history
  • Loading branch information
jlink committed Jun 21, 2024
1 parent 207f5f0 commit bf26aca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ tasks.withType(KotlinCompile).configureEach {
compilerOptions {
freeCompilerArgs = [
"[email protected]:strict",
"-Xemit-jvm-type-annotations" // Required for annotations on type variables
"-Xemit-jvm-type-annotations", // Required for annotations on type variables
"-Xjdk-release=${javaTargetVersion}" // See https://github.com/jqwik-team/jqwik/issues/546#issuecomment-2180009926
]
apiVersion = KotlinVersion.KOTLIN_1_9
languageVersion = KotlinVersion.KOTLIN_1_9
Expand Down

0 comments on commit bf26aca

Please sign in to comment.