forked from nickbutcher/plaid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Spotless rules for Groovy Gradle files and fixes. (nickbutcher#809)
Adds Spotless rules for Groovy Gradle files This commit includes: - spotless rule for Groovy build scripts - groovy configuration (`script/greclipse.properties`) - formatting fixes in `build.gradle` files
- Loading branch information
Showing
10 changed files
with
129 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#Whether to use 'space', 'tab' or 'mixed' (both) characters for indentation. | ||
#The default value is 'tab'. | ||
org.eclipse.jdt.core.formatter.tabulation.char=space | ||
|
||
#Number of spaces used for indentation in case 'space' characters | ||
#have been selected. The default value is 4. | ||
org.eclipse.jdt.core.formatter.tabulation.size=4 | ||
|
||
#Number of spaces used for indentation in case 'mixed' characters | ||
#have been selected. The default value is 4. | ||
org.eclipse.jdt.core.formatter.indentation.size=4 | ||
|
||
#Whether or not indentation characters are inserted into empty lines. | ||
#The default value is 'true'. | ||
org.eclipse.jdt.core.formatter.indent_empty_lines=false | ||
|
||
#Number of spaces used for multiline indentation. | ||
#The default value is 2. | ||
groovy.formatter.multiline.indentation=2 | ||
|
||
#Length after which list are considered too long. These will be wrapped. | ||
#The default value is 30. | ||
groovy.formatter.longListLength=30 | ||
|
||
#Whether opening braces position shall be the next line. | ||
#The default value is 'same'. | ||
groovy.formatter.braces.start=same | ||
|
||
#Whether closing braces position shall be the next line. | ||
#The default value is 'next'. | ||
groovy.formatter.braces.end=next | ||
|
||
#Remove unnecessary semicolons. The default value is 'false'. | ||
groovy.formatter.remove.unnecessary.semicolons=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters