Skip to content

Commit 996f380

Browse files
committed
add unused imports spotless check
1 parent b203dbe commit 996f380

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,12 @@ indraCrossdoc {
277277

278278
spotless {
279279
java {
280+
toggleOffOn("@formatter:off", "@formatter:on")
280281
endWithNewline()
281282
indentWithSpaces(4)
282283
trimTrailingWhitespace()
283-
toggleOffOn("@formatter:off", "@formatter:on")
284284
formatAnnotations()
285+
removeUnusedImports()
285286
importOrderFile(rootProject.file("extra/eclipse/sponge_eclipse.importorder"))
286287
}
287288
kotlinGradle {

0 commit comments

Comments
 (0)