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
0

Unfortunately, this feature is not implemented yet. Please vote on the related request IDEA-78625.

0
Avatar
Permanently deleted user

Thanks for the reply.So we cannot implemet it even at project level ?I mean I read of adding validation in compiler settings

0

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.

0
Avatar
Permanently deleted user

So that means even plugins wont help?

0

I cannot find any similar plugins on the Marketplace. Please vote on the above issue in order to speed up the implementation process.

0

请先登录再写评论。