Skip to content

Commit

Permalink
chore: set apiVersion and languageVersion to Kotlin 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFruxz committed May 1, 2024
1 parent 99f2b2f commit 732ca53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
Expand Down Expand Up @@ -85,6 +86,8 @@ tasks {
compileKotlin {
compilerOptions {
freeCompilerArgs.add("-opt-in=kotlinx.serialization.ExperimentalSerializationApi")
apiVersion.set(KotlinVersion.KOTLIN_2_0)
languageVersion.set(KotlinVersion.KOTLIN_2_0)
}
}

Expand Down

0 comments on commit 732ca53

Please sign in to comment.