Skip to content

Commit

Permalink
Use JDK 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Sep 5, 2023
1 parent 2744dce commit 6330849
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tasks.withType<KotlinCompile>().configureEach {
)
apiVersion = "1.8"
languageVersion = "1.8"
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
compilerOptions.jvmTarget.set(JvmTarget.JVM_1_8)
}
}

Expand All @@ -49,5 +49,5 @@ kotlin {
}

tasks.withType<JavaCompile>().configureEach {
options.release.set(11)
options.release.set(8)
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ gradlePlugin {

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
compilerOptions.jvmTarget.set(JvmTarget.JVM_1_8)
}
}

tasks.withType<JavaCompile>().configureEach {
options.release.set(11)
options.release.set(8)
}

val updateKotestPluginConstants by tasks.registering(Sync::class) {
Expand Down

0 comments on commit 6330849

Please sign in to comment.