google / google/auto

Support KSP for AutoFactory

Open
#982 5 comments 28 reactions 0 assignees View on GitHub
Component: factory P3 type=enhancement
Dominant language
Java
Stars
10.6k
Forks
1.2k
Avg merge
6h 32m
Merged PRs (30d)
13

Description

For Kotlin projects, AutoFactory currently makes use of KAPT. This is generally quite slow since it requires generating Java stubs before the annotation processing step.

[KSP](https://goo.gle/ksp) offers an alternative to this by making it easier for annotation processors like AutoFactory to more directly use Kotlin's compiler plugin infrastructure. Based on initial benchmarks, using KSP can speed up build times by as much as 2x.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.