From 7f7dcd920b5ca792dce5f62199d36d389ac3c548 Mon Sep 17 00:00:00 2001 From: Ralf Wondratschek Date: Thu, 31 Oct 2024 14:01:17 -0700 Subject: [PATCH] Upgrade KotlinPoet to the latest version Upgrade KotlinPoet to `2.0.0`, which comes with fixes for line wrapping. kotlin-inject ran into these edge cases for larger components where wrong line wrapping made the code not compile. The latest version of KotlinPoet fixes these issues. KotlinPoet depends on Kotlin `2.0.10`, therefore upgrade Kotlin and KSP at the same time. --- gradle/libs.versions.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 20da6873..8e3a0cde 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,8 +1,8 @@ [versions] kotlin-inject = "0.7.3-SNAPSHOT" -kotlin = "2.0.0" -ksp = "2.0.0-1.0.22" -kotlinpoet = "1.16.0" +kotlin = "2.0.10" +ksp = "2.0.10-1.0.24" +kotlinpoet = "2.0.0" junit5 = "5.9.3" jvmTarget = "11" detekt = "1.23.6"