Placing exploded war into the distribution archive

I want to create a distribution archive, that includes tomcat base with exploded war. My distribution should look as follows:
| +-conf
| +-webapp <- here should be exploded war
| | +-META-INF
| | +-WEB-INF
| | +-…
| +-work
| +-temp

So far I was able to achieve that with the following configuration:

distributions {
  main {
    contents {
      from('src/main/sql/schema.sql') {
        into 'db'
distZip.dependsOn war

but this configuration broke my war target, now when I issue gradle war, it creates broken war-archive with wrong structure (proxy.war<-tomcat-base<-webapp<-here-war-contents).

What’s the correct way to do that?.