Gradle WAR manifest


We have an existing META-INF/ file that is created from a third party, We move this into the WebContent for the WAR task. The problem is the manifest is overwritten by the default manifest create. How can I disable this default behavior?

You can merge the generated manifest with an existing one.

war {
    manifest {
        from 'src/main/resources/META-INF/'

Thanks for that! perfect