Skip to content

Commit

Permalink
Update Kotlin to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed Nov 7, 2024
1 parent 7079a92 commit 041a3fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ build
!.idea/icon.png
.intellijPlatform
kotlin-js-store
.kotlin
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pluginVerifierIdeVersions = 241, 242

texifyVersion = 0.9.7

kotlinVersion = 1.9.20
kotlinVersion = 2.0.20
kotlinxSerializationJsonVersion = 1.2.1

kotlin.code.style = official
Expand Down
5 changes: 2 additions & 3 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ dependencies {

tasks {
compileKotlin {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_21.toString()
freeCompilerArgs += listOf("-Xopt-in=kotlin.RequiresOptIn", "-Xjvm-default=all")
compilerOptions {
freeCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn", "-Xjvm-default=all")
}
}
jar {
Expand Down
2 changes: 1 addition & 1 deletion web-view/bootstrap/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.jetbrains.kotlin.de.undercouch.gradle.tasks.download.Download
import de.undercouch.gradle.tasks.download.Download

plugins {
id("de.undercouch.download") version "5.6.0"
Expand Down

0 comments on commit 041a3fe

Please sign in to comment.