XD-144: Leave log4j.properties out of jar files

Added exclude to gradle jar task.