[GRADLE-513] descriptions not always printed by gradle -t Created: 30/May/09  Updated: 04/Jan/13  Resolved: 09/Jun/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.6
Fix Version/s: None

Type: Bug
Reporter: Tomek Kaczanowski Assignee: Hans Dockter
Resolution: Won't Fix Votes: 0

Attachments: File build.gradle    



descriptions are not printed out by "gradle -t" if task is created with <<


task withDesc {
description = 'visible description'

task noDesc << {
description = 'invisible description'

gradle -t


Root Project
:withDesc - visible description


best regards
Tomek Kaczanowski

Comment by Hans Dockter [ 09/Jun/09 ]

This is OK behavior. gradle -t only picks up information from configuration time. We might even should throw an exception if someone tries to change the description during execution time in a task action.

Generated at Wed Jun 30 11:32:02 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.