aboutsummaryrefslogtreecommitdiff
path: root/spotless.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'spotless.gradle')
-rw-r--r--spotless.gradle11
1 files changed, 11 insertions, 0 deletions
diff --git a/spotless.gradle b/spotless.gradle
new file mode 100644
index 00000000..22dba3a8
--- /dev/null
+++ b/spotless.gradle
@@ -0,0 +1,11 @@
+apply plugin: "com.diffplug.gradle.spotless"
+
+spotless {
+ kotlin {
+ target "**/*.kt"
+ ktlint()
+ licenseHeaderFile '../spotless.license.kt'
+ trimTrailingWhitespace()
+ endWithNewline()
+ }
+} \ No newline at end of file