I’ve got one project that produces some build artifacts and I wnat to be able to essentally change their layout when I put them into a war.
I’m doing:
war {
from files(project(’:projectA’).file(“build/out/A”)) {
into(‘xxx’)
}
from files(project(’:projectA’).file(“build/out/B”)) {
into (‘yyy’)
}
from files(project(’:projectA’).file(“build/out/C”)) {
into (‘zzz’)
} }
but everything ends up in zzz/! am I missing something? doing it wrong? bug in gradle? what?