Fix syntax errors on Gradle usage