It's also happening with a copy task:

task 'webinflib'(type: Copy) {
    from configurations.runtime.files
    into "$webAppDirName/WEB-INF/lib"
}

# rm -rf src/main/webapp/WEB-INF/lib/
# gradle webinflib

:webinflib UP-TO-DATE

If I replace the task with:

task 'webinflib' << {
    copy {
        from configurations.runtime.files
        into "$webAppDirName/WEB-INF/lib"
    }
}

It works.

On Tue, May 18, 2010 at 2:02 PM, Nacho Coloma <[email protected]> wrote:

> Hi all,
>
> Did something change with the up-to-date feature on 0.9-preview-1? It has
> started failing in my build process after the gradle upgrade:
>
> # rm -rf build
> # gradle
> :compileJava UP-TO-DATE <-- ??
>
> After execution, no classes folder is found. How is the up-to-date flag
> being calculated now?
>

Reply via email to