Use more concise/idiomatic Gradle code for example usage