Skip to content

Morfly/ksp-sample

Repository files navigation

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.

About

Kotlin Symbol Processing (KSP) sample project

Topics

Resources

License

Stars

Watchers

Forks

Languages