update gradle to 1.10 and add log4j