Kotlin Symbol Processing API

Edit pageLast modified: 25 September 2024

Kotlin Symbol Processing (KSP) is an API that you can use to develop lightweight compiler plugins. KSP provides a simplified compiler plugin API that leverages the power of Kotlin while keeping the learning curve at a minimum. Compared to kapt, annotation processors that use KSP can run up to two times faster.

  • To learn more about how KSP compares to kapt, check out why KSP.

  • To get started writing a KSP processor, take a look at the KSP quickstart.