Android gradle sourcesets. so in release mode, how can I do in build.

Android gradle sourcesets. I want to do something like: sourceSet.