Straightforward question, I tried gradle clean assembleRelease -Xlint:deprecation, but that doesn't work obviously.