Support using response type keeper with KSP
- Closes #4176.
- Based on #4525.
- [x]
CHANGELOG.md's "Unreleased" section has been updated, if applicable.
Is KSP 2 stable? I'm pretty content being entirely outside the KSP ecosystem, and try to use it in as few places as possible.
I don't want to every be forced to do a Retrofit release because a new version of Kotlin and/or KSP came out.
I believe so. I didn't test the processor on KSP1 as I see KSP1 support has been dropped by https://github.com/ZacSweers/kotlin-compile-testing/releases/tag/0.10.0
Can you take me off all of this github stuff, please?
Thank you.
On Tue, Oct 14, 2025 at 11:13 AM Jake Wharton @.***> wrote:
JakeWharton left a comment (square/retrofit#4526) https://github.com/square/retrofit/pull/4526#issuecomment-3402645464
Is KSP 2 stable? I'm pretty content being entirely outside the KSP ecosystem, and try to use it in as few places as possible.
I don't want to every be forced to do a Retrofit release because a new version of Kotlin and/or KSP came out.
— Reply to this email directly, view it on GitHub https://github.com/square/retrofit/pull/4526#issuecomment-3402645464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOLKW3X4NTW6LEU2FGGZYOD3XUOIXAVCNFSM6AAAAACI5AVDW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMBSGY2DKNBWGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
No, unsubscribe from your side.
https://github.com/google/ksp/releases/tag/2.3.0
Okay I'm comfortable adding this. We actually use a KSP one internally, not the annotation processing one. I will compare to ensure this meets our needs and then merge.
We actually use a KSP one internally, not the annotation processing one. I will compare to ensure this meets our needs and then merge.
This is on my "to do" list for this month. Lots going on, but I haven't forgotten about it.
Thanks for the feedback!