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

Make jilt incremental for gradle #35

Open
iyanging opened this issue Dec 25, 2024 · 1 comment
Open

Make jilt incremental for gradle #35

iyanging opened this issue Dec 25, 2024 · 1 comment

Comments

@iyanging
Copy link
Contributor

iyanging commented Dec 25, 2024

Every time I modify just one file, Jilt triggers a full re-compilation.

gradle says:

#25 19.07 Task ':xxx:compileJava' is not up-to-date because:
#25 19.07   Input property 'stableSources' file /app/xxx/src/main/java/xxx.java has changed.
#25 19.07 Compilation mode: forking compiler
#25 19.07 Created classpath snapshot for incremental compilation in 0.07 secs.
#25 19.07 Full recompilation is required because org.jilt.JiltAnnotationProcessor is not incremental. Analysis took 0.134 secs.
#25 19.07 Compiling with toolchain '/usr/lib/jvm/jdk-23.0.1-bellsoft-x86_64'.

Please consider configuring Jilt as incremental to speed up compilation.

Refer:

@skinny85
Copy link
Owner

Thanks for opening the issue @iyanging! I'm a little worried about all of the limitations making the processor incremental places on it, but I'll research the topic a little further.

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

No branches or pull requests

2 participants