To permanently exclude specific file(s) from being compiled in Android Studio, we can add full path of the file(s) to be ignored in the following list:
File -> Other Settings -> Default Settings -> Compiler -> Excludes But, how do we permanently exclude arbitrary file(s) from being compiled? I'd like to exclude files with certain keywords (can we use regex for this?) or specific file pattern (e.g. .DS_STORE).
I'm running Android Studio Version 0.4.3.