« Return to Thread: retrieveLibs command to support switching to flatDir

Re: retrieveLibs command to support switching to flatDir

by Helmut Denk :: Rate this Message:

Reply to Author | View in Thread

for the interested user ...
one way to do this is:

task retrieveRuntimeLibs << {
    Set files = configurations.runtime.resolve()
    ant {
        files.each {
            copy(file: it, todir: 'runtimeLibs')
        }
    }
}

 « Return to Thread: retrieveLibs command to support switching to flatDir