Gradle ear update application.xml with current WAR filename
问题 I have a java EAR project that contains some WAR web-app. I'm using gradle to build the EAR file. uberApp | \---> WarA | | | ...<src and config> | \---> WarB | | | ...<src and config> | \--> config/META-INF/application.xml This is the uberApp build.gradle: apply plugin: 'ear' dependencies { deploy project(path: ':WarA/trunk', configuration: 'archives') deploy project(path: ':WarB/trunk', configuration: 'archives') } ear { appDirName 'config' } This is the WAR build.gradle: war { baseName =