gradle auto gen settings code