add functions for stop, start glassfish via gradle