Add WEB-INF files to a WAR
war {
webInf {
from('WebContent/WEB-INF')
from('WebContent/templates')
}
}
Display stdout during tests
apply plugin: 'java'
test {
testLogging.showStandardStreams = true
}
war {
webInf {
from('WebContent/WEB-INF')
from('WebContent/templates')
}
}
apply plugin: 'java'
test {
testLogging.showStandardStreams = true
}