gradle resolution strategy for using log4j instead of simple-logger

Uses incubating aspect of ResolutionStrategy which could change in future gradle releases.