title: Recompile with -Xlint in Android studio
body: <p>When I build my Android project in Android Studio, I get message:</p>
  <pre><code>Note: Some input files use unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  </code></pre>
  <p>and</p>
  <pre><code>Note: Some input files use or override a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  </code></pre>
  <p>I would like to do what the message suggested, but how? How can I configure my Android studio to re-compile my project with <code>-Xlint</code> as the above message suggested?  (I am using Android Studio 3.0.1)</p>