-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error Reformatting Code with Spotless #20
Comments
I investigated the ability to determine changed files and found that it is possible. We have to implement CommitCheck for SpotlessCheckinHandler. Here is what the doc says:
The runCheck method from the new interface includes a commitInfo parameter in its signature, which helps us identify the affected changes. |
Hello! It was not possible to use |
Hi @lipiridi thanks for your response and the update. I checked it today but I get an error, when I execute spotless applier in one of the submodules:
Our multi module project is structured like When I run it in master everythings fine |
Hello! I guess this issue is also related - #23 |
No, it is not related to #23. I have few questions:
I would be grateful if you share settings and build files. I tested 2 cases during development:
|
Hi, I receive following error, when adding the plugin as an commit hook. Using it via shortcut is no problem. Im using a multi module project if you need any more information happy to provide. Regards
Error while reformatting code with Spotless: Argument for @NotNull parameter 'moduleInfo' of com/github/lipiridi/spotless/applier/ReformatProcessor. must not be null
The text was updated successfully, but these errors were encountered: