Skip to content

Commit

Permalink
Update Kotlin versions (cortinico#301)
Browse files Browse the repository at this point in the history
* update kotlin and the ksp plugin to the latest version

* extend the version compatibility test to check for kotlin version 2.0.0
  • Loading branch information
simonhauck authored Jun 21, 2024
1 parent def3e14 commit a2094f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Please add your entries according to this format.
## Unreleased

- Fix task caching for ktfmtCheckTask when project has multiple source sets (#288)
- Kotlin to 2.0.0
- ksp to 2.0.0-1.0.22

## Version 0.18.0 _(2024-04-13)_

Expand Down
2 changes: 1 addition & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
kotlin("jvm")
id("com.ncorti.ktfmt.gradle")
id("com.google.devtools.ksp") version "1.9.23-1.0.20"
id("com.google.devtools.ksp") version "2.0.0-1.0.22"
id("app.cash.sqldelight") version "2.0.2"
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ binaryCompatibilityValidator = "0.14.0"
detekt = "1.23.6"
diffUtils = "4.12"
junit = "5.10.2"
kotlin = "1.9.23"
kotlin = "2.0.0"
ktfmt-plugin = "0.18.0"
ktfmt = "0.50"
pluginPublish = "1.2.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal class PluginVersionCompatibilityTest {
}

@ParameterizedTest
@ValueSource(strings = ["1.7.20", "1.9.10", "1.9.20"])
@ValueSource(strings = ["1.7.20", "1.9.10", "1.9.20", "2.0.0"])
fun `plugin can be applied to projects with different kotlin versions`(kotlinVersion: String) {
// Prevent sharing of classpath
publishPluginToMavenLocal()
Expand Down

0 comments on commit a2094f7

Please sign in to comment.