Workaround for Gradle bug