Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ spotless {
spotlessPredeclare {
// these need to align with the types and versions in gradle/spotless.gradle
java {
removeUnusedImports()

// This is the last Google Java Format version that supports Java 8
googleJavaFormat('1.7')
}
Expand Down
1 change: 1 addition & 0 deletions gradle/spotless.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spotless {
if (project.plugins.hasPlugin('java')) {
java {
toggleOffOn()
removeUnusedImports()
// set explicit target to workaround https://github.com/diffplug/spotless/issues/1163
target 'src/**/*.java'
// ignore embedded test projects
Expand Down