Run the right Gradle task