Update the executeCommand method so it return the output produced by gradlew.