I\'m using a standard Android Studio directory structure and I created different build types:
buildTypes { debug { runProguard false packageN
You have to switch it in the build variants list, then AS will pick up the appropriate source sets.