File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 <geotools .version>1.8.0-33.1</geotools .version>
3737 <spark .version>3.5.7</spark .version>
3838 <javax .servlet.version>4.0.1</javax .servlet.version>
39+ <spotless .version>3.0.0</spotless .version>
3940 </properties >
4041
4142 <dependencies >
144145 </execution >
145146 </executions >
146147 </plugin >
148+ <plugin >
149+ <groupId >com.diffplug.spotless</groupId >
150+ <artifactId >spotless-maven-plugin</artifactId >
151+ <version >${spotless.version} </version >
152+ <configuration >
153+ <formats >
154+ <!-- you can define as many formats as you want, each is independent -->
155+ <format >
156+ <!-- define the files to apply to -->
157+ <includes >
158+ <include >.gitattributes</include >
159+ <include >.gitignore</include >
160+ </includes >
161+ <!-- define the steps to apply to those files -->
162+ <trimTrailingWhitespace />
163+ <endWithNewline />
164+ <indent >
165+ <tabs >true</tabs >
166+ <spacesPerTab >4</spacesPerTab >
167+ </indent >
168+ </format >
169+ </formats >
170+ <!-- define a language-specific format -->
171+ <java >
172+ <googleJavaFormat >
173+ <version >1.10</version >
174+ <style >AOSP</style >
175+ <reflowLongStrings >true</reflowLongStrings >
176+ <formatJavadoc >false</formatJavadoc >
177+ </googleJavaFormat >
178+ </java >
179+ </configuration >
180+ </plugin >
147181 </plugins >
148182 </build >
149183</project >
You can’t perform that action at this time.
0 commit comments