Posted about 9 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:

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

Owner of this card:

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