How to locate documentation related to Gradle deprecated code notices?


(Eric Rajkovic) #1

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 ObjectFactory.property(Class) 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 = project.property(Configuration)
+ final Property<Configuration> configuration = project.objects.property(Configuration)

Thanks,
-Eric


(Eric Rajkovic) #2

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: