Skip to content

Commit 3727dfa

Browse files
committedJan 14, 2025
Fix deprecations in the Spotless build.
1 parent 77c480e commit 3727dfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spotless {
2222
}
2323
format 'dotfiles', {
2424
target '.gitignore', '.gitattributes', '.editorconfig'
25-
indentWithSpaces(2)
25+
leadingTabsToSpaces(2)
2626
trimTrailingWhitespace()
2727
endWithNewline()
2828
}

‎gradle/spotless-freshmark.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Action<FreshMarkExtension> freshmarkSetup = {
1010
it.put('yes', ':+1:')
1111
it.put('no', ':white_large_square:')
1212
}
13-
it.indentWithSpaces(2)
13+
it.leadingTabsToSpaces(2)
1414
it.endWithNewline()
1515
}
1616

0 commit comments

Comments
 (0)