From ce71a2ec7abadd4d82d89dfc1f7fd3f79076e37a Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 31 Oct 2018 00:03:25 +0100 Subject: chore: Add linting via Ktlint This change adds support for linting the code base using ktlint and the excellent ktlint-gradle plugin. --- gradle/kotlin.gradle | 1 + 1 file changed, 1 insertion(+) (limited to 'gradle') diff --git a/gradle/kotlin.gradle b/gradle/kotlin.gradle index 7c4495f8..6e85235d 100644 --- a/gradle/kotlin.gradle +++ b/gradle/kotlin.gradle @@ -25,6 +25,7 @@ /* Default configuration for Kotlin projects */ apply plugin: 'kotlin' apply plugin: 'org.jetbrains.dokka' +apply plugin: 'org.jlleitschuh.gradle.ktlint' apply plugin: 'jacoco' sourceCompatibility = 1.8 -- cgit v1.2.3