Skip to content

Commit

Permalink
Mark kotlin target JVM as 1.8
Browse files Browse the repository at this point in the history
There is a conflict between the compiler used for Java and Kotlin, even
if this is defined in the root project's build.gradle. Explicitly
note that the targeted jvm version is 1.8.

This was reported by Gradle and prevents the upgrade to Gradle 8.x.
  • Loading branch information
tweksteen committed Nov 25, 2024
1 parent 4f591b4 commit 8259b27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api-doclet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ description = 'Conscrypt: API Doclet'

kotlin {
jvmToolchain(11)
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8
}
}

dependencies {
Expand Down

0 comments on commit 8259b27

Please sign in to comment.