Use gradlew generateSource instead of ant for code generation