Marco Righini
07/17/2020, 10:53 AMdetekt block in the gradle file) with a command line gradle task parameter?
I checked the docs but I didn’t find how. I’ve also tried ./gradlew detekt -Pauto-correct=true and ./gradlew detekt -PautoCorrect=true along with some other similar commands but none of them worked.Brais Gabin
07/17/2020, 11:01 AMgammax
07/17/2020, 11:03 AM@Option our gradle tasks.
What you can do is create your own property called autoCorrect and then invoke your command with -PautoCorrect=… . But that’s part of the Gradle Property API and is unrelated to detektMarco Righini
07/17/2020, 11:12 AM