updated gradle build config and documentation