add log4j.properties
update gradle build script