Custom lib directory in War plugin

I need to copy the war dependencies in a different directory than WEB-INF\lib.

Is it possible to change die lib directory in the war plugin as in the ear plugin?

Found a solution

into(‘download’) {

from { configurations.libs}

from { configurations.compile}

} </code