Skip to content

Commit

Permalink
xml spotless init
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuSanal committed Jul 17, 2024
1 parent 4d97545 commit 059b56e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,9 @@ spotless {
indentWithSpaces()
endWithNewline()
}

format 'xml', {
target 'app/src/main/res/values*/strings.xml'
eclipseWtp('xml').configFile('spotless.xml.prefs')
}
}
4 changes: 4 additions & 0 deletions spotless.xml.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
indentationChar=space
indentationSize=4
lineWidth=1024

0 comments on commit 059b56e

Please sign in to comment.