Skip to content

Instantly share code, notes, and snippets.

@amadeu01
Created October 4, 2019 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amadeu01/dfc5c95feca7828713e7c9f24c7819c2 to your computer and use it in GitHub Desktop.
Save amadeu01/dfc5c95feca7828713e7c9f24c7819c2 to your computer and use it in GitHub Desktop.
ktlint plug-in
plugins {
id "kotlin"
id 'application'
id "org.jlleitschuh.gradle.ktlint" version "$ktlint_plugin_version"
}
ktlint {
version = "$ktlint_version"
debug = false
verbose = false
android = false
outputToConsole = true
reporters = [ReporterType.JSON]
ignoreFailures = true
enableExperimentalRules = true
filter {
exclude("**/generated/**")
include("**/kotlin/**")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment