Skip to content

Commit 5c1393c

Browse files
dependabot[bot]nbradburyclaude
authored
Bump squareup-kotlin-poet from 1.18.1 to 2.3.0 (#22755)
* Bump squareup-kotlin-poet from 1.18.1 to 2.3.0 Bumps `squareup-kotlin-poet` from 1.18.1 to 2.3.0. Updates `com.squareup:kotlinpoet-ksp` from 1.18.1 to 2.3.0 - [Release notes](https://github.com/square/kotlinpoet/releases) - [Changelog](https://github.com/square/kotlinpoet/blob/main/docs/changelog.md) - [Commits](square/kotlinpoet@1.18.1...2.3.0) Updates `com.squareup:kotlinpoet` from 1.18.1 to 2.3.0 - [Release notes](https://github.com/square/kotlinpoet/releases) - [Changelog](https://github.com/square/kotlinpoet/blob/main/docs/changelog.md) - [Commits](square/kotlinpoet@1.18.1...2.3.0) --- updated-dependencies: - dependency-name: com.squareup:kotlinpoet-ksp dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.squareup:kotlinpoet dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Fix test expectation for KotlinPoet 2.x formatting change KotlinPoet 2.0+ no longer auto-wraps long strings to newlines, so update the expected output in RemoteFeatureConfigCheckBuilderTest to match the single-line IllegalArgumentException message format. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nick Bradbury <nick.bradbury@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 73c8fbe commit 5c1393c

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ photoview = '2.3.0'
9494
robolectric = '4.16.1'
9595
sentry = '6.3.0'
9696
squareup-java-poet = '1.13.0'
97-
squareup-kotlin-poet = '1.18.1'
97+
squareup-kotlin-poet = '2.3.0'
9898
squareup-okhttp3 = '5.3.2'
9999
squareup-retrofit = '3.0.0'
100100
wellsql = '2.0.0'

libs/processors/src/test/kotlin/org/wordpress/android/processor/RemoteFeatureConfigCheckBuilderTest.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ class RemoteFeatureConfigCheckBuilderTest {
3636
3737
public fun checkRemoteFields() {
3838
if ($classA.remoteField == null) {
39-
throw IllegalArgumentException(""${'"'}org.wordpress.$classA needs to define
40-
remoteField""${'"'})
39+
throw IllegalArgumentException(""${'"'}org.wordpress.$classA needs to define remoteField""${'"'})
4140
}
4241
if ($classB.remoteField == null) {
43-
throw IllegalArgumentException(""${'"'}org.wordpress.$classB needs to define
44-
remoteField""${'"'})
42+
throw IllegalArgumentException(""${'"'}org.wordpress.$classB needs to define remoteField""${'"'})
4543
}
4644
}
4745
}

0 commit comments

Comments
 (0)