You can buy this project and download/modify it how often you want.
Files of the artifact logRotator version 1.8 from the group com.nikedlab.