Skip to content

Commit

Permalink
Bump Kotlin to 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Aug 25, 2024
1 parent 5077156 commit 850c303
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.8.21"
kotlin("jvm") version "2.0.20"
id("org.jlleitschuh.gradle.ktlint") version "12.1.0"
id("com.gradleup.shadow") version "8.3.0"
application
Expand Down Expand Up @@ -49,7 +50,9 @@ tasks.wrapper {
}

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

tasks.withType<ShadowJar> {
Expand Down
2 changes: 1 addition & 1 deletion cli/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.8.21"
kotlin("jvm")
application
}

Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.8.21"
kotlin("jvm")
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion stdlib/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.8.21"
kotlin("jvm")
}

dependencies {
Expand Down

0 comments on commit 850c303

Please sign in to comment.