Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 705 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 705 Bytes

Kotlin Symbol Processing (KSP) Sample Project

Sample annotation processor created with Kotlin Symbol Processing (KSP) API. The repository supplements a blog post "So, how do I write a Kotlin Symbol Processor (KSP)?" featured on ProAndroidDev.com.

There are 2 working directories in this repository:

  • completed - contains the completed project with the KSP annotation processor that is ready to run. Open main-project/.../Main.kt and run the main function to see the code generation in action.
  • start - contains the minimum project configuration to start writing a custom Kotlin symbol processor.