blob: 44496b7ee39cbab233402e282c058dd92ddc2b56 [file]
Name: google-java-format
URL: https://github.com/google/google-java-format
Version: 1.36.1
Revision: a95a5290336acd179d42c6baf0557d590f5839d0
Update Mechanism: Manual
License: NCSA, Apache-2.0
License File: LICENSE
Security Critical: no
Shipped: no
Description:
google-java-format is a program that reformats Java source code to comply with
Google Java Style (https://google.github.io/styleguide/javaguide.html).
Local Modifications:
- Customized import order to match Chromium style guide.
- Tell it treat our @Nullable as TYPE_USE
- These customizations are embedded directly in 3pp.py
Update instructions:
- Find latest version available via https://chrome-infra-packages.appspot.com/p/chromium/third_party/google-java-format
- Update DEPS Instance ID
- Update the Version in this file
- Run gclient sync
- Test the formatter works (file chosen because it has switch expression in it):
third_party/google-java-format/google-java-format -i --aosp chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java
- Commit with mention of any notables by scanning release notes at: https://github.com/google/google-java-format/releases