-
Notifications
You must be signed in to change notification settings - Fork 464
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
spotlessIdeHook and configuration cache #1082
Comments
Initially, both the vscode and intelliJ plugins fixed this by adding
Unfortunately, for Gradle < 6.6, this flag is unrecognized and throws an exception The VSCode plugin is trying to fix this by parsing and detecting the version, another way is to test it on first run, detect the error, then try again without that flag. |
Would #1274 resolve this issue, if the configuration cache is natively supported and the current workaround with We have several large projects which require a few minutes in the configuration phase. A fast IDE hook which makes use of the cache and doesn't invalidate it would be nice. |
Yes, #1274 will fix this. |
With 7.0.0.BETA2 I get following error (running spotlessIdeHook with configuration cache enabled):
|
Should be fixed in |
The spotless IDE hook is incompatible with the configuration cache, see ragurney/spotless-intellij-gradle#18 for an example and stacktrace. Workaround for now is to specify
--no-configuration-cache
when usingspotlessIdeHook
.The text was updated successfully, but these errors were encountered: