Skip to content

Commit e1448b0

Browse files
Adjust spotless params
1 parent a14248a commit e1448b0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.gradle

+6-6
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,23 @@ springBoot {
5959
buildInfo()
6060
}
6161

62+
tasks.withType(Javadoc) {
63+
options.addStringOption('Xdoclint:none', '-quiet')
64+
}
65+
6266
// Code formatting
6367
spotless {
6468
java {
6569
// Import order
66-
importOrderFile('/contributing/companion.importorder')
70+
importOrderFile('contributing/companion.importorder')
6771
removeUnusedImports()
6872

6973
// Code style
70-
eclipse().configFile('/contributing/GoogleStyle.xml')
74+
eclipse().configFile('contributing/GoogleStyle.xml')
7175
formatAnnotations()
7276
}
7377
}
7478

75-
tasks.withType(Javadoc) {
76-
options.addStringOption('Xdoclint:none', '-quiet')
77-
}
78-
7979
// Distribution-specific tasks
8080
def dependenciesDir = "$buildDir/dependencies"
8181
def distributionDir = "$buildDir/SC Trade Companion"

0 commit comments

Comments
 (0)