1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-13 22:43:06 +01:00
Frost-for-Facebook/spotless.gradle
Allan Wang 697d01882b
Enhancement/ktlint (#1259)
* Add spotless

* Reformat code

* Apply license header

* Add remaining license headers
2018-12-24 01:47:03 -05:00

11 lines
228 B
Groovy

apply plugin: "com.diffplug.gradle.spotless"
spotless {
kotlin {
target "**/*.kt"
ktlint()
licenseHeaderFile '../spotless.license.kt'
trimTrailingWhitespace()
endWithNewline()
}
}