Clean up CLI integration project

- Use full gradle task modeling for input and outputs, before this
  CL it was assuming none of the inputs would change.
- Stop using project object during task exectution, this is not configuration
  cache safe

Test: ./gradlew integration-tests:cli:run
Change-Id: Id7c4430c8fc0e0aad0b2d53bec21c33e490bf382
2 files changed