mirah/pindah

Exclude Mirah source files from mixed-source projects during build process

Opened this issue · 1 comments

(Forked from #15 into separate issue.)

Problem

Since Pindah expects Mirah source files to reside alongside Java source files in the same directory, Android will package any non-Java source files from that directory into the final APK package during the build process.

Solution

Utilize the ANDROID_AAPT_IGNORE build flag to programmatically exclude the desired Mirah source files during the build process.

https://android.googlesource.com/platform/frameworks/base/+/90897ed87bce639bf6bb2ccf15fbabb59b131bab

This is a Mirah problem, not Pindah's.

I'd close it and open it in the Mirah project.