Trying to implement kapt support to buck build system. But I see no great documentation about the steps needed, and even saw changes on them like from version 1.1.2 to 1.1.3, for example.
As I saw today, there are 4 stages:
1. Generate stubs
2. Run the AP
3. Compile java
4. Compile kt
But I don’t know what are the correct arguments to pass to the compiler, what are the correct jars to pass on the classpath.
I’ve seen gradle using, for example, the embeddable compiler instead of the the normal one.
Also seen that
Kapt uses Java compiler to run annotation processors.
and etc…
Trying to run gradle builds with --debug, but the output is really noisy and it’s hard to be sure that something works this way or another.
Does someone here with more experience in kotlin compilation and AP can give a few tips?