How to locate documentation related to Gradle deprecated code notices?

When I run my build (./gradlew --warning-mode all clean), I am getting the following message:

The property(Class) method has been deprecated. This is scheduled to be removed in Gradle 5.0. Please use the method instead.

Was able to find the answer on some other forum, but was wondering where to go look in the documentation to figure it out by myself - any pointer welcome.

- final PropertyState<Configuration> configuration =
+ final Property<Configuration> configuration =


With the recent release of 5.1, I am getting even more warnings, and still not able to find a good way to resolve them, other than trial and error.
Wondering what I may be missing in my toolbox setup.

Happy New Year :wink: