configuration into my detekt block. It cannot be resolved. What am I missing? I would like to check if my code is formatted according to the android studio code style via gradle.
c
chao
03/29/2021, 7:57 PM
This is actually the first time I knew about these two tasks. The documentation seems outdated
h
Henning B
03/29/2021, 8:03 PM
Yeah I think you are right, most examples I have found configuring the the tasks via the
idea { }
block are from 2019.
Do you know how I could check for correct formatting using the intellij/android studion code-style.xml? If I understand correctly most folks are using ktlint but it is using it's own style which cannot be configured?!
b
Brais Gabin
03/30/2021, 7:05 AM
I remember idea asking me if I want to install a script to run those checks on the shell. So it should be doable. But I don't know exactly how.