question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for kapt (for improved Kotlin support)

See original GitHub issue

It was mentioned in #857 that kapt isn’t supported. Opening this new issue to track support for it.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:38
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

27reactions
thalescmcommented, Mar 27, 2018

Finally merged, I think it’s safe to close the issue now. Please test it folks 😃

9reactions
kageiitcommented, Dec 14, 2016

It seems like kapt3 in 1.0.6-eap77 ships with an APT_ONLY mode https://github.com/JetBrains/kotlin/blob/8afac55a908c80feb7dd7bf7105e0557d34cacce/plugins/kapt3/src/org/jetbrains/kotlin/kapt3/Kapt3Plugin.kt#L88 https://github.com/JetBrains/kotlin/commit/95d12103171315bc2cb71d1a51a564234f0b5477

This means any build system can call kotlinc with this option and pass in kotlin source files to generate the java stubs required for the javac annoation processor round and compilation

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using kapt | Kotlin
Using in Gradle · Annotation processor arguments · Gradle build cache support · Improving the speed of builds that use kapt · Compile...
Read more >
Better Annotation Processing: Supporting Stubs in kapt
As discussed in the previous blog post, the problem can be overcome by generating stubs of Kotlin classes before running javac and then...
Read more >
Accelerated Kotlin build times with Kotlin Symbol Processing 1.0
"Adding KSP support to Room improved the compilation speed and also ... The Kotlin Annotation Processing Tool (KAPT) works with Java's ...
Read more >
Room kapt error when upgrading kotlin or gradle
In my case, I have faced the same issue while I have upgraded "kotlin-gradle-plugin: from 1.5.31 to 1.6.10".
Read more >
Kotlin 1.3.30 Brings Kotlin/Native and KAPT Improvements ...
IntelliJ IDEA support for Kotlin 1.3.30 has been improved. Now it is possible to debug coroutines easier; a separate "Async stack trace" shows ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found