Fix for Gradle resource processing Switch attrs.