Workaround for small local files; moved from Ant to Gradle