Attached is a simple and clean fix. Essentially, it's better to just use Xlint which is equal to Xlint:all to show everything and you can dig through it for whatever you want.
What this fix requires is only passing a project property called Xlint. So .. the syntax is ./gradlew -PXlint build
For the record, I'm not very convinced of adding both Xlint and OWASP to the master build.gradle. I am busy at the moment but I do wish to remove both (even though I helped in implementing both) because I was just trying to help Jacques to implement it properly