Skip to content

pycodeslab/kapt-demo

Repository files navigation

🔍 KAPT (Kotlin Annotation Processing Tool) — Educational Demo

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.


📖 What You’ll Learn

  • 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/.

🧩 Architecture Overview

annotations/   → defines @GenFactory annotation
processor/     → contains the annotation processor
app/           → uses @GenFactory and gets generated code

About

🧠 Visual KAPT demo — understand how Kotlin Annotation Processing Tool generates code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages