Best practices
- Configuration avoidance
(Gradle 4.9+) Detects usage of API that interacts with tasks eagerly.
- Describe custom Tasks
Detects registration of tasks without assigning them a description.
- Duplicate dependencies
Detects duplicate dependency declarations in Gradle build scripts.
- Latest Gradle minor version
Reports when a newer minor Gradle version is available in the 'distributionUrl' property of the 'gradle-wrapper.properties' file or when a Gradle task is triggered.
- Legacy 'apply' plugin notation
Detects usage of legacy apply plugin methods in Gradle build scripts.
- Named arguments dependency notation should be replaced by the GAV string notation
Detects usage of named arguments notation for dependencies when the GAV string notation could be used instead and offers a quick-fix to convert to it.
- Redundant Kotlin standard library dependency
Detects redundant explicit dependency declarations on the Kotlin standard library (kotlin-stdlib) when it is already added implicitly by the Gradle plugin org.jetbrains.kotlin.jvm.
- Repositories in build scripts avoidance
Detects declarations of repositories in Gradle build scripts.