-
Hi! I'd like to create a custom rule to check that every activity layout xml file has a property defined in its parent container. To be able to do that, first I need Detekt to be run over src/main/res/layout/*.xml files. I tried using setSource in my detekt.gradle file but it didn't work. Thanks very much, Pabloku |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can't do this with Detekt. You'll have to use Android Lint as you need to access an Android Resource |
Beta Was this translation helpful? Give feedback.
-
is it the same for gradle file like properties or settings ? |
Beta Was this translation helpful? Give feedback.
You can't do this with Detekt. You'll have to use Android Lint as you need to access an Android Resource