Posted over 7 years ago. Visible to the public.

Exclude file from resource in Gradle

If you want to exclude one file from resource, you may use this snippet:

Copy
sourceSets { main { resources { exclude '**/*.bak' } } }

Owner of this card:

Avatar
leonidv
Last edit:
over 7 years ago
Posted by leonidv to Leonid's cards
This website uses short-lived cookies to improve usability.
Accept or learn more