Add XML rules
This commit is contained in:
parent
4b767bca54
commit
54f95dbd92
2 changed files with 14 additions and 1 deletions
|
@ -168,4 +168,4 @@ dependencies {
|
|||
debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
|
||||
}
|
||||
|
||||
apply from: '../spotless.gradle'
|
||||
apply from: '../spotless.gradle'
|
||||
|
|
|
@ -14,4 +14,17 @@ spotless {
|
|||
trimTrailingWhitespace()
|
||||
endWithNewline()
|
||||
}
|
||||
format 'misc', {
|
||||
target '**/*.gradle', '**/*.md', '**/.gitignore'
|
||||
indentWithSpaces()
|
||||
trimTrailingWhitespace()
|
||||
endWithNewline()
|
||||
}
|
||||
|
||||
format 'xml', {
|
||||
target 'src/*.xml'
|
||||
indentWithSpaces()
|
||||
trimTrailingWhitespace()
|
||||
endWithNewline()
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue