[GRADLE-2385] getting properties from a task gives a deprecated warning Created: 13/Jul/12  Updated: 04/Jan/13  Resolved: 14/Jul/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.0
Fix Version/s: 1.1-rc-1

Type: Bug
Reporter: Björn Kautler Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

Getting the "properties" property of a Gradle Task gives the following warning:

The AbstractTask.getDynamicObjectHelper() method has been deprecated and will be removed in the next version of Gradle. Please use the getAsDynamicObject() method instead.

This greatly confuses Gradle users as it is not clear why you get this warning while not using dynamicObjectHelper yourself. This warning should only come when gettings this property explicitly.


Generated at Wed Jun 30 12:20:28 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.