update gradle to show compile with -Xlint:deprecation
fix typo of class name
code format