Use logger and doLast in build.gradle for Proguard-related tasks