Files
plaid/scripts/greclipse.properties
Pietro F. Maggi 5b28b0570c Adds Spotless rules for Groovy Gradle files and fixes. (#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
2019-12-10 16:31:57 +00:00

34 lines
1.2 KiB
Properties

#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