Can't use Kotlin Annotation Processor
See original GitHub issue- Add kapt to gradle project
id "org.jetbrains.kotlin.kapt" version "1.3.72"
- Use some annotation processor e.g.
kapt "com.google.auto.service:auto-service:1.0-rc7"
- Boom
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Kotlin Annotation Processor not working? What am I missing?
Recently I've been trying to make a annotation processor through Kotlin but I can't seem to get it ...
Read more >Using kapt | Kotlin
Using kapt · Using in Gradle · Annotation processor arguments · Gradle build cache support · Improving the speed of builds that use...
Read more >Misleading "Cannot run plugin annotation processor ... - GitHub
The annotation processor is separate from SpongeGradle, and generally works without it. If you run into this error, all extended functionality ...
Read more >[Solved]-Kotlin annotation processor: can't make it work-kotlin
In my practices, AutoService just ignore kotlin classes. You have to use a java class instead, or write your own META-INF:.
Read more >The Guide To Your First Annotation Processor with KSP (And ...
In this article, we are going to create a KSP-based annotation processor that generates new code and files based on annotation usages.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After hours of trial and error, reverse engineering, and debugging, I have figured out the solution. Simply add the following to your build.gradle:
Global solution TBD
Wow, that actually did it. Thanks!