title: Log4j configure for Android using gradle
body: <p>I want to use log4j to write logs to sdcard. How to configure log4j specifically using gradle ? </p>
  
  <p>Many threads I have seen ask to download and add jar as library, I can't find a good post on configuring log4j using gradle. </p>