build - Gradle - Suppress gradle to create application.xml -
i trying build ear using gradle.
i use meta-inf/application.xml present in project. , not have gradle generate 1 me.
i tried following code snippet , archive(ear) has 2 application.xml files in meta-inf instead of copied one.
ear { into("meta-inf") { from("meta-inf") } }
any appreciated.
you can put existing application.xml
under meta-inf
in source folder. if gradle find file won't generate one. can read more behavior in gradle user guide.
Comments
Post a Comment