skyler
skyler

Reputation: 8348

Exclude raw/ or specific files in raw/ during release build

Is there a way to exclude certain files in raw/ or the entire raw/ directory itself, when making a release build? I use ant to compile—can I add something into my build script, which relies on the standard Android build script, to exclude raw/ files based on a pattern match?

Upvotes: 1

Views: 423

Answers (1)

Kurtis Nusbaum
Kurtis Nusbaum

Reputation: 30845

You could use an ant Move Task to move your raw directory into some temporary folder and then another Move Task to move it back after you're done building.

Upvotes: 2

Related Questions