-
-
Notifications
You must be signed in to change notification settings - Fork 757
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
The "detektCheck" Gradle task is never UP-TO-DATE #725
Comments
The main drawback is that right now it's not incremental which it should be. |
So how to change that? Any gradle experts here :) |
We need to declare an input. Probably the source files. Gradle will then do the rest of the work. |
The tasks should have both inputs and outputs. |
Right as output we could use our output. |
I can take a pass at the Gradle stuff sometime next week after #719 is completed |
This version as the UP-TO-DATE check fixed, see detekt/detekt#725 Also, the "warningThreshold" and 'failThreshold' properties were deprecated in favor of the new "maxIssues" property, see detekt/detekt#313
This version as the UP-TO-DATE check fixed, see detekt/detekt#725 Also, the "warningThreshold" and "failThreshold" properties were deprecated in favor of the new "maxIssues" property, see detekt/detekt#313
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics. |
I just realized that running the exact same
./gradlew detektCheck
task two times in a row without changing any source code does not show thedetektCheck
task to beUP-TO-DATE
, as expected, but runs the task again. Is that by design? If so, I'd vote for changing that for performance reasons, and because tasks can be easily forced to rerun with the--rerun-tasks
Gradle command line option.The text was updated successfully, but these errors were encountered: