-
Notifications
You must be signed in to change notification settings - Fork 269
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
Form classes instrumentation always triggers Kotlin recompilation #116
Comments
Sorry, I doubt I can do anything with this |
Can't the instrumentation task be skipped if it should be up to date? |
Instrumentation task is not task. It's kotlin task out-of-date |
Hm, maybe I was able to workaround the issue by using |
doLast is used for that |
I mean that if I manually add instrumentation to the Perhaps intellij gradle plugin can provide a function which takes compile task as an argument, and instruments its output? That way the plugin user can add |
This is because you add an instrumentation after kotlin compilation only, gradle-intellij-plugin has to do it for after every compilation task. I can try to merge several compilation tasks by its output but not sure it will work well.
It's possible, but there is still a problem if you set several tasks with the same output |
Won't something like this work? |
maybe it will. have you tried it? |
It works for intellij-rust, but don't know gradle well enough to be sure that it always works :) |
if I execute
./graldew assemble
twice, I expect the second time to be UP-TO-DATE. This unfortunately does not happen, and Kotlin is always recompiled. Running./graldew assemble --info
gives the following hint:Those are Kotlin classes bound to the GUI designer forms.
The text was updated successfully, but these errors were encountered: