I'm also unable to compile with it, it seems like ...
# ksp
z
I'm also unable to compile with it, it seems like it tries to force the
JavaCompile
task to run even if there are no java source files
Copy code
* What went wrong:
Execution failed for task ':moshi-ksp:moshi-ksp:compileJava'.
> no source files
I suspect these should be using gradle's
builtBy
APIs? I think @gavra would have some good pointers
g
As you've mentioned, it does look like a missing dependency info. I'll take a closer look.
🙏 1
z
Nice fix. @Ting-Yuan Huang I found with my plugin that I just needed to wire it up to the
ProcessResources
task, unless the goal is to have KSP-generated resources also available on the javac classpath
t
Thanks for the hints. I'll look into it.
👍 1
g
Resources should not really impact compilation in any way, only packaging tasks should be processing them. I'm not sure if there is as a scenario where javac/kotlinc may need 'em.
t
👍 1
z
cut new releases with this and everything worked like a charm 👍
😀 1