Workaround for Gradle bug.