-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Migrating to KSP | ||
|
||
## How kapt and ksp differ? | ||
|
||
### Incremental processing | ||
When writing content to a file during processing with ksp, it is necessary to define output mode. | ||
|
||
**Aggregating** means that almost any change in the codebase will consider the input as dirty, (meaning, that the processor needs to run again). | ||
**Isolating** means that only changes to the specified files will make input dirty. | ||
|
||
### Multiple rounds | ||
ksp executes multiple rounds of processing to make sure all symbols it visits are validated. It’s a useful mechanism if our annotation processing depends on other annotation processors. | ||
|
||
PR that migrated WordPress-Android internal processor from kapt to ksp: https://github.com/wordpress-mobile/WordPress-Android/pull/20217 |