On 21/10/2010, at 2:06 AM, Thomas R. Corbin wrote:

> 
> I've been trying:
> 
> compileGroovy.options.listFiles = true
> compileGroovy.options.verbose = true
> compileGroovy.groovyOptions.listFiles = true
> compileGroovy.groovyOptions.verbose = true
> 
> but none of it seems to work.


You should use:

compileGroovy.groovyOptions.listFiles = true

The file names are logged at info level, so you need to run Gradle with the -i 
command-line option to see them.

Alternatively, you can just write some code to list them:

compileGroovy.doFirst {
    source.each { File f ->
        println f
    }
}

This will work without needing the -i option.


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

Reply via email to