title: Run Lint from console for only selected files
body: <p>I am trying to create a custom Git pre-commit hook that checks (using Lint from console, via "gradlew") for possible issues.
  However, I can't find how to run Lint only in provided files. If I run something like</p>
  
  <pre><code>./gradlew app:lint
  </code></pre>
  
  <p>Lint analyzes all the project files, and this operation can take quite a bit of time.
  In <a href="http://tools.android.com/tips/lint/writing-a-lint-check" rel="noreferrer">this document</a>, there is a "Incremental Lint" section, which covers something similar to what I am looking for. I also found this <a href="https://code.google.com/p/android/issues/detail?id=65405" rel="noreferrer">open issue</a>, that is quite the same as my problem, but seems to be more specific, since it "automatically" retrieves the files to be linted.</p>
  
  <p>To sum up: is it possible to run Lint from command line over a collection of files? Or I am just stucked in running it for the whole project?</p>
  
  <p>Best regards</p>