Printing gradle GradleVersion.current().prettyPrint() replacement

Somewhat new to this, inheriting a build.gradle with GradleVersion.current().prettyPrint().

gradle -v has a summary similar to this as well.

I am upgrading to gradle 2.13 which throws a method not found.

Is there a different method of printing out a summary like this or even
a parameter to just have gradle do it without it being in build.gradle?

You’d have to create what it was doing by printing what you need:

Is just the Gradle version number enough information?