summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2018-10-31 00:03:25 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2019-05-13 20:26:05 +0200
commitce71a2ec7abadd4d82d89dfc1f7fd3f79076e37a (patch)
tree86e0f4cd465f0c009cf8031714d5351eee2df3e1 /build.gradle
parent2bc0e9834a81738e3af24886d8daf7af490bcc59 (diff)
chore: Add linting via Ktlint
This change adds support for linting the code base using ktlint and the excellent ktlint-gradle plugin.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index cc2e3e8e..f3e5996c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -25,6 +25,7 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.0' apply false
id 'org.jetbrains.dokka' version '0.9.17' apply false
+ id 'org.jlleitschuh.gradle.ktlint' version '6.2.1' apply false
}
allprojects {