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:

proxy.zip
+-tomcat-base
| +-conf
| +-webapp <- here should be exploded war
| | +-META-INF
| | +-WEB-INF
| | +-…
| +-work
| +-temp
+-db
  +-schema.sql

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

distributions {
  main {
    contents {
      with(war.into('tomcat-base/webapp'))
      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?.