Making build failed according to code inspection
已回答
How can i make my build failed considering my code inspection file.eg:if i changed severity of unused import as an error then my build should fail.i uses intellij community edition 2018.3.5 in a grdle project
请先登录再写评论。
Unfortunately, this feature is not implemented yet. Please vote on the related request IDEA-78625.
Thanks for the reply.So we cannot implemet it even at project level ?I mean I read of adding validation in compiler settings
It looks like the validation cannot be configured in File | Settings | Build, Execution, Deployment | Compiler | Validation settings for code inspections. As a workaround, you can run the Analyze | Inspect Code action before building the project to handle such problems.
So that means even plugins wont help?
I cannot find any similar plugins on the Marketplace. Please vote on the above issue in order to speed up the implementation process.