Expand Up@@ -38,6 +38,8 @@ final class CommandLineOptions { private final boolean removeJavadocOnlyImports; private final boolean sortImports; private final boolean removeUnusedImports; private final boolean dryRun; private final boolean setExitIfChanged; ...
google-java-formatis a program that reformats Java source code to comply withGoogle Java Style. Using the formatter From the command-line Download the formatterand run it with: java -jar /path/to/google-java-format-${GJF_VERSION?}-all-deps.jar <options> [files...] ...
from the command-line Download the formatterand run it with: java -jar /path/to/google-java-format-1.10.0-all-deps.jar <options> [files...] The formatter can act on whole files, on limited lines (--lines), on specific offsets (--offset), passing through to standard-out (default) ...
taskgoogleJavaFormat(group:'format',type:Exec){commandLine'zsh','-c','java -jar /path/google-java-format-1.15.0-all-deps.jar --replace $(git ls-files "*.java")'}
google-java-format is a program that reformats Java source code to comply with Google Java Style.Using the formatterFrom the command-lineDownload the formatter and run it with:java -jar /path/to/google-java-format-${GJF_VERSION?}-all-deps.jar <options> [files...] The...
from the command-lineDownload the formatter and run it with:java -jar /path/to/google-java-format-1.3-all-deps.jar <options> [files...] The formatter can act on whole files, on limited lines (--lines), on specific ofsets (--offset), passing through to standard-out (default) or ...
from the command-lineDownload the formatter and run it with:java -jar /path/to/google-java-format-1.3-all-deps.jar <options> [files...] The formatter can act on whole files, on limited lines (--lines), on specific ofsets (--offset), passing through to standard-out (default) or ...
from the command-lineDownload the formatter and run it with:java -jar /path/to/google-java-format-1.3-all-deps.jar <options> [files...] The formatter can act on whole files, on limited lines (--lines), on specific ofsets (--offset), passing through to standard-out (default) or ...
from the command-lineDownload the formatter and run it with:java -jar /path/to/google-java-format-1.3-all-deps.jar <options> [files...] The formatter can act on whole files, on limited lines (--lines), on specific ofsets (--offset), passing through to standard-out (default) or ...
from the command-line Download the formatterand run it with: java -jar /path/to/google-java-format-1.9-all-deps.jar <options> [files...] The formatter can act on whole files, on limited lines (--lines), on specific offsets (--offset), passing through to standard-out (default) or ...