-
-
Notifications
You must be signed in to change notification settings - Fork 821
Closed
Description
On the homepage there should be a separate chapter regarding rules that use type and symbol solving and how to configure them in Gradle. The existing section are missing some essential information.
- How to configure and use these rules on Android (code underneath this todo list)
- Run the
detekt main-> see potential-bugs Deprecation does not work #2038 (comment) - Mention that this is still experimental and has some peculiarities
From the Slack chat:
dependencies {
detekt(project(":detekt-cli"))
detektPlugins(project(":detekt-formatting"))
}
val detektAll by tasks.registering(Detekt::class) {
description = "Runs over whole code base without the starting overhead for each module."
parallel = true
buildUponDefaultConfig = true
include("**/*.kt")
exclude("**/resources/**")
exclude("**/build/**")
exclude("**/*.kts")
// baseline.set(file("$rootDir/config/detekt/baseline.xml"))
classpath.setFrom(project.configurations.getByName("detekt"))
reports {
xml.enabled = false
html.enabled = false
txt.enabled = false
}
}michaelbannister, Whathecode and brentwatsonbrentwatson and Serchinastico