Locating dynamic property creation (i.e. what's causing the deprecation warning "Dynamic properties have been deprecated...")

Is there a way for me to locate where dynamic properties are being created - an option to have Gradle spit out line numbers along with the deprecation warnings, for example? I’d like to locate these and replace them with extensions, but am having trouble figuring out where exactly they’re being created.


Please see this post: http://forums.gradle.org/gradle/topics/how_can_i_find_the_usage_of_deprecated_gradle_apis