added conditional publishing support using ~/grade.properties