updated gradle build file and groovy doc