Dear Gradle community,
I have the following war task:
war {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
webInf {
from configurations.natives into 'lib/bin'
from configurations.licences into 'lib/bin/lmdata'
}
}
But, to my surprise, it copies all files into lib/bin/lmdata
. I want to have natives inside lib/bin
and licences inside lib/bin/lmdata
. What is the problem and possible way to fix it?
Thanks in advance.