Run IntelliJ lint standalone

Answered

I would like to make that IntelliJ warnings fail the build for every person in my team.

I know that I can change in the IntelliJ IDEA lint configuration to make each case as an error, but I would depend that every person in the team import the configurations.

For me the only solution for this is to add the lint verification in the build step through gradle with the configurations defined in a xml, something like the static analysis tools do.

Someone knows if this is possible?

0
2 comments

Run inspections offline and analyze the results XML?

https://www.jetbrains.com/help/idea/2016.3/running-inspections-offline.html

It's also possible from TeamCity CI with much better convenience.

1
Avatar
Permanently deleted user

Looks promising, I will look at it when I have time. Thanks for your reply

0

Please sign in to leave a comment.