gradle-format-plugin
gradle-format-plugin copied to clipboard
A Gradle plugin to format Java source code
I'm trying to format my project, using the ".properties" file, but i get an exception I can't avoid: ``` Caused by: org.gradle.api.GradleException: FAILED format {C:\dev\src\WBCP\src\main\java\it\gpi\wbcp\entity\model\entity\ejb\UserEjb.java=java.lang.NullPointerException, C:\dev\src\WBCP\src\main\java\it\gpi\wbcp\entity\model\entity\ejb\RootEjb.java=java.lang.NullPointerException, C:\dev\src\WBCP\src\main\java\eclipseCodeStyle.java=java.lang.NullPointerException} at com.github.youribonnaffe.gradle.format.FormatTask.format(FormatTask.groovy:85) at...
This PR is related to #17 I tried your changes but they didn't work, so I started digging. It seems that the android plugin follows the same structure as the...
I'm using the plugin in a project and it works great with java projects, however, it fails when I try to apply it to a project with the android plugin:...
The `format` task applies the format, which is great. It would be awesome if there was a `checkFormat` task, which was added as a dependency to the `check` task, but...