google-nomulus/java-format
Michael Muller 08c704ee52 Pass --java-binary to _all_ formatter invocations (#1024)
* Pass --java-binary to _all_ formatter invocations

When implementing a flag to pass in the java binary to
google-java-format-diff.py, I missed the location in showNoncompliantFiles
which gets run before a check.

This change also refactors the core logic of the script so that
google-java-format-diff.py is only called from one place and (in all but one
case) only one time.

Tested:
Ran check format and show, with and without diffs present in the tree.
2021-03-22 13:35:51 -04:00
..
google-java-format-1.8-all-deps.jar Enable Java 11 features (#737) 2020-08-03 16:08:29 -04:00
google-java-format-diff.py Print out env variables in java format (#998) 2021-03-10 08:55:14 -05:00
google-java-format-git-diff.sh Pass --java-binary to _all_ formatter invocations (#1024) 2021-03-22 13:35:51 -04:00