Customize scopes for Android Studio using gradle (eg. adding configurations to scopes.COMPILE)

Is there a way to customize the scopes for android studio using gradle?

Detailed question here: https://stackoverflow.com/questions/24687296/is-there-a-way-to-customize-the-scopes-for-android-studio-using-gradle