feat(detekt): add a flag to turn on debug input

This commit is contained in:
Harsh Shandilya 2022-10-03 22:47:50 +05:30
parent eb8be2f909
commit 33b8503f19
No known key found for this signature in database

View file

@ -12,6 +12,7 @@ object Detekt {
fun apply(project: Project) {
project.pluginManager.apply(DetektPlugin::class.java)
project.extensions.configure<DetektExtension> {
debug = project.providers.gradleProperty("debugDetekt").isPresent
parallel = true
ignoredBuildTypes = listOf("benchmark", "release")
basePath = project.layout.projectDirectory.toString()