Skip to content

Commit

Permalink
[Dependency] Kotlin 2.0.0 (#400)
Browse files Browse the repository at this point in the history
* bump kotlin version

* remove deprecated compiler options

---------

Co-authored-by: Kyle <[[email protected]]>
  • Loading branch information
hopeman15 and Kyle authored Dec 1, 2024
1 parent 7284824 commit 2dc0fd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

allprojects {
Expand Down Expand Up @@ -27,7 +28,9 @@ dependencies {
}

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}

tasks.test {
Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ objenesis = "3.4"
lorem = "2.2"
jupiter = "5.11.3"
mockk = "1.13.13"
kotlin = "1.9.22"
kotlin = "2.0.0"
kotlinter = "4.4.1"
detekt = "1.23.7"
kover = "0.8.3"
Expand Down

0 comments on commit 2dc0fd9

Please sign in to comment.