Mina Wissa
Mina Wissa

Reputation: 10971

Android: ignore lint check for a specific directory

I'm wondering if I have a project with the following resources structure:

src/main/resources/module1

src/main/resources/module2

Where each module has its resources directory with values, drawables, etc ..

Now I want to ignore the IconMissingDensityFolder check for the resources in module1 directory only.

What does the lint configuration for that look like?

Upvotes: 1

Views: 947

Answers (1)

Eugen Martynov
Eugen Martynov

Reputation: 20140

Should look like:

<lint>
  <issue id="IconMissingDensityFolder">
    <ignore path="**/src/main/resources/module1" />
  </issue>
</lint>

Upvotes: 1

Related Questions