The Gradle Format plugin enables you to format your Java sources. It operates in place and can be used for instance before pushing changes to enforce a coding style. The formatting can be customized using a properties or XML file with the keys defined in DefaultCodeFormatterConstants
from Eclipse. See src/test/resources/ for examples. Eventually you should be able to export Eclipse settings to this file.
from The Android Arsenal
No comments:
Post a Comment