The plugin helps to analyse code of your project and warns about issues. It makes use of the detekt plugin.
As this plugin wraps detekt, it offers the same features for project configuration.
Add the following to your project root build.gradle/build.gradle.kts file:
plugins {
id("eu.bitfunk.gradle.plugin.quality.code.analysis")
}To check source code:
./gradlew detektFor applying initial configuration
./gradlew detektGenerateConfigFor setting a baseline
./gradlew detektBaseline