Skip to content

Commit

Permalink
Update Kotlin to 2.0.20-Beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Jul 5, 2024
1 parent a770ecf commit 32801b6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ kotlin {
dependencies {
api(libs.ktor.client.js)

// workaround for https://youtrack.jetbrains.com/issue/KT-43500
// workaround for https://youtrack.jetbrains.com/issue/KT-43500 /
// https://youtrack.jetbrains.com/issue/KT-64109#focus=Comments-27-10064206.0-0
// (intended to be compileOnly in commonMain only)
implementation(projects.kspAnnotations)
}
Expand Down
3 changes: 2 additions & 1 deletion gateway/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ kotlin {
implementation(libs.kotlin.node)
implementation(npm("fast-zlib", libs.versions.fastZlib.get()))

// workaround for https://youtrack.jetbrains.com/issue/KT-43500
// workaround for https://youtrack.jetbrains.com/issue/KT-43500 /
// https://youtrack.jetbrains.com/issue/KT-64109#focus=Comments-27-10064206.0-0
// (intended to be compileOnly in commonMain only)
implementation(projects.kspAnnotations)
}
Expand Down
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ org.gradle.warning.mode=all
org.gradle.kotlin.dsl.allWarningsAsErrors=true
kotlin.code.style=official

# https://github.com/Kotlin/kotlinx-atomicfu/issues/448
# https://youtrack.jetbrains.com/issue/KT-64109#focus=Comments-27-10064206.0-0
kotlin.suppressGradlePluginWarnings=IncorrectCompileOnlyDependencyWarning

# https://github.com/Kotlin/kotlinx-atomicfu#atomicfu-compiler-plugin
kotlinx.atomicfu.enableJvmIrTransformation=true
kotlinx.atomicfu.enableJsIrTransformation=true
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]

# api dependencies
kotlin = "2.0.0" # https://github.com/JetBrains/kotlin
kotlin = "2.0.20-Beta1" # https://github.com/JetBrains/kotlin
ktor = "2.3.12" # https://github.com/ktorio/ktor
kotlinx-coroutines = "1.8.1" # https://github.com/Kotlin/kotlinx.coroutines
kotlinx-serialization = "1.7.1" # https://github.com/Kotlin/kotlinx.serialization
Expand All @@ -18,7 +18,7 @@ stately = "2.0.7" # https://github.com/touchlab/Stately
fastZlib = "2.0.1" # https://github.com/timotejroiko/fast-zlib

# code generation
ksp = "2.0.0-1.0.22" # https://github.com/google/ksp
ksp = "2.0.20-Beta1-1.0.22" # https://github.com/google/ksp
kotlinpoet = "1.17.0" # https://github.com/square/kotlinpoet

# tests
Expand Down
3 changes: 2 additions & 1 deletion ksp-annotations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask
plugins {
`kord-internal-multiplatform-module`

// workaround for https://youtrack.jetbrains.com/issue/KT-43500 (not intended to be published)
// workaround for https://youtrack.jetbrains.com/issue/KT-43500 /
// https://youtrack.jetbrains.com/issue/KT-64109#focus=Comments-27-10064206.0-0 (not intended to be published)
org.jetbrains.dokka
`kord-publishing`
}
Expand Down

0 comments on commit 32801b6

Please sign in to comment.