Skip to content

Commit

Permalink
Update to Kotlin language version 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Oct 15, 2023
1 parent 0a5aada commit 0cb2d5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keeper-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version libs.versions.kotlin.get()
`java-gradle-plugin`
id("org.jetbrains.dokka") version "1.8.20"
id("org.jetbrains.dokka") version "1.9.0"
alias(libs.plugins.mavenPublish)
alias(libs.plugins.binaryCompatibilityValidator)
id("org.jetbrains.kotlin.plugin.sam.with.receiver") version libs.versions.kotlin.get()
Expand All @@ -35,8 +35,8 @@ tasks.withType<KotlinCompile>().configureEach {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17) // Match AGP's requirement
// Because Gradle's Kotlin handling is stupid, this falls out of date quickly
apiVersion.set(KotlinVersion.KOTLIN_1_8)
languageVersion.set(KotlinVersion.KOTLIN_1_8)
apiVersion.set(KotlinVersion.KOTLIN_1_9)
languageVersion.set(KotlinVersion.KOTLIN_1_9)
// freeCompilerArgs.add(listOf("-progressive"))
// We use class SAM conversions because lambdas compiled into invokedynamic are not
// Serializable, which causes accidental headaches with Gradle configuration caching. It's
Expand Down

0 comments on commit 0cb2d5a

Please sign in to comment.