Skip to content

Commit b87ad09

Browse files
Solving use of deprecated methods
1 parent df7a2ac commit b87ad09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle/scripts/spotless.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ spotless {
2424
format 'misc', {
2525
target '**/.gitignore', 'configs/**'
2626
trimTrailingWhitespace()
27-
indentWithTabs()
27+
leadingSpacesToTabs()
2828
endWithNewline()
2929
}
3030

3131
/* Formats markdown files, just like the other misc files, but without trimming trailing white spaces (nested
3232
* enumerations) */
3333
format 'md', {
3434
target '**/*.md'
35-
indentWithSpaces 2
35+
leadingTabsToSpaces(2)
3636
endWithNewline()
3737
}
3838
}

0 commit comments

Comments
 (0)