add plugin common ktlint
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.SARIF
|
||||
|
||||
plugins {
|
||||
id("org.jlleitschuh.gradle.ktlint")
|
||||
}
|
||||
|
||||
ktlint {
|
||||
verbose = true
|
||||
filter {
|
||||
exclude("**/generated/**")
|
||||
include("**/kotlin/**")
|
||||
}
|
||||
kotlinScriptAdditionalPaths {
|
||||
include(fileTree("scripts/*"))
|
||||
}
|
||||
reporters {
|
||||
reporter(SARIF)
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
plugins {
|
||||
id("ltd.hlaeja.plugin.hlaeja-common-plugin.common-detekt")
|
||||
id("ltd.hlaeja.plugin.hlaeja-common-plugin.common-ktlint")
|
||||
|
||||
id("ltd.hlaeja.plugin.hlaeja-core-plugin")
|
||||
|
||||
kotlin("jvm")
|
||||
|
||||
Reference in New Issue
Block a user