I am trying to use detek in Android project as men...
# detekt
a
I am trying to use detek in Android project as mentioned here https://github.com/arturbosch/detekt#configuration-for-android-projects And when I try to run
./gradlew detekt
it says
Task 'detekt' is ambiguous in root project 'my-project'. Candidates are: 'detektBaseline', 'detektCheck', 'detektGenerateConfig', 'detektIdeaFormat', 'detektIdeaInspect'.
and when I try to run
./gradlew detektCheck
it says
Could not resolve all files for configuration ':detektCheck'.
Could not find io.gitlab.arturbosch.detektdetekt cli1.2.21.