GRADLE-2171 Reorder Ear.deploymentDescriptor so that it is handled properly when filtering out duplicate entries