This repository is a minimal and visual explanation of how KAPT works in Kotlin projects.
💡 KAPT is the Kotlin Annotation Processing Tool — it lets you run Java-style annotation processors on Kotlin code at compile time to generate new source files automatically.
- How KAPT builds work internally.
- How Kotlin → Java stub → annotation processor → generated code pipeline runs.
- The difference between annotations, processors, and app modules.
- Where to find generated source files inside
build/.
annotations/ → defines @GenFactory annotation
processor/ → contains the annotation processor
app/ → uses @GenFactory and gets generated code