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
}