mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 19:57:04 +05:30
feat(detekt): add a flag to turn on debug input
This commit is contained in:
parent
eb8be2f909
commit
33b8503f19
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ object Detekt {
|
||||||
fun apply(project: Project) {
|
fun apply(project: Project) {
|
||||||
project.pluginManager.apply(DetektPlugin::class.java)
|
project.pluginManager.apply(DetektPlugin::class.java)
|
||||||
project.extensions.configure<DetektExtension> {
|
project.extensions.configure<DetektExtension> {
|
||||||
|
debug = project.providers.gradleProperty("debugDetekt").isPresent
|
||||||
parallel = true
|
parallel = true
|
||||||
ignoredBuildTypes = listOf("benchmark", "release")
|
ignoredBuildTypes = listOf("benchmark", "release")
|
||||||
basePath = project.layout.projectDirectory.toString()
|
basePath = project.layout.projectDirectory.toString()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue