On 23/11/2010, at 8:56 AM, Etienne Studer wrote:

> Hi
> 
> When I run 'gradle tasks' on a script that applies the java plugin, I cannot 
> see the compileJava task (I guess it's because this task does not belong to a 
> group and is only used as a dependency of other tasks).
> 
> How can I make it still show up when running 'gradle tasks'? I could not find 
> any option under gradle -?.

There is a little note at the end of the output of 'gradle tasks' suggesting 
that you try running with --all. Perhaps we should make this more prominent.

The --all option is a little different to the other command-line options, as it 
is the first task-specific option we've added. I imagine we'll add more (eg 
replace -Dtest.single=<pattern> with --single <pattern>). These options aren't 
available in the output of gradle -?, as it's too early in the lifecycle for 
them to be available. We'll probably add something like 'gradle help 
<taskname>' which will show some usage information about a given task, 
including the command-line options which are available for it.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to