Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Extensions and KSP support #1230

Closed
DenBond7 opened this issue Aug 8, 2023 · 2 comments · Fixed by #1231
Closed

Custom Extensions and KSP support #1230

DenBond7 opened this issue Aug 8, 2023 · 2 comments · Fixed by #1231

Comments

@DenBond7
Copy link
Contributor

DenBond7 commented Aug 8, 2023

Hello,

After switching to use KSP (Kotlin Symbol Processing)

ksp("com.google.auto.service:auto-service:1.1.1")

Custom Extensions don't work. I'm posting it just in case. Maybe this info will be useful for other devs.

After some research, I've found a workaround. It's a KSP implementation of AutoService.

https://github.com/ZacSweers/auto-service-ksp

The following lines resolve a problem

ksp("dev.zacsweers.autoservice:auto-service-ksp:1.1.0")
ksp("com.google.auto.service:auto-service:1.1.1")
@DenBond7
Copy link
Contributor Author

DenBond7 commented Aug 8, 2023

google/auto#882

@F43nd1r
Copy link
Member

F43nd1r commented Aug 8, 2023

Sounds like a good thing to add to the documentation. Would you be willing to make a PR for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants