Skip to content

Partial-revert: Migrate from KAPT to KSP#12820

Merged
TobiGr merged 1 commit intodevfrom
kapt
Nov 19, 2025
Merged

Partial-revert: Migrate from KAPT to KSP#12820
TobiGr merged 1 commit intodevfrom
kapt

Conversation

@theimpulson
Copy link
Member

What is it?

  • Bugfix (user facing)
  • Feature (user facing) ⚠️ Your PR must target the refactor branch
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Brings back KAPT for statesaver library

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions bot added the size/small PRs with less than 50 changed lines label Nov 19, 2025
@theimpulson theimpulson requested a review from TobiGr November 19, 2025 00:55
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Yeah it seems like there is no drop-in replacement for evernote.statesaver available online, so we need to keep it until we finish migrating everything to Compose.

Could you add comments explaining why we are still using kapt there?

statesaver has been deprecated for ~ 6 years and incompatible with KSP

Signed-off-by: Aayush Gupta <[email protected]>
@theimpulson
Copy link
Member Author

Could you add comments explaining why we are still using kapt there?

Done, also added a TODO reminder to drop statesaver library

Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixed the crashes

rxjava = "3.1.12"
sonarqube = "4.0.0.2929"
statesaver = "1.4.1"
statesaver = "1.4.1" # TODO: Drop because it is deprecated and incompatible with KSP2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please open an issue for that and add it to the rewrite project so that we do not forget about it.

@TobiGr TobiGr merged commit 2ba87f7 into dev Nov 19, 2025
5 checks passed
@TobiGr TobiGr deleted the kapt branch November 19, 2025 14:18
@TobiGr TobiGr mentioned this pull request Dec 21, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/small PRs with less than 50 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[nightly] NullPointerException on device rotation

3 participants