I followed the instructions in this response: https://stackoverflow.com/a/35273850/1122470
However, after using the automatic formatting CtrlShiftAltL, the code was reformatted for sure, yes, but I am not sure if it was according to the checkstyle.xml
When I try to check for violations using gradlew checkstyle all the previous errors seem to remain.
Any suggestions on how to get the formatting done according to the checkstyle rules using the plugin?
Edit: adding config screenshots

