Android Studio: Exclude resource file under resources sourceSets

前端 未结 1 862
醉话见心
醉话见心 2020-11-30 10:32

I\'m developing an android app using android studio as IDE.

My question is:
How to exclude certain files under certain directory during the process of building

相关标签:
1条回答
  • 2020-11-30 10:49

    Exclude paths aren't currently supported for Android sourceSets. You can track this at bug https://code.google.com/p/android/issues/detail?id=64957

    This is happening because Android sourceSets aren't the same as Java sourceSets; they're a custom implementation in the Android plugin, and don't automatically pick up all the features of their cousins. This will need to be specially implemented for Android, and it hasn't been done yet.

    0 讨论(0)
提交回复
热议问题