Gradle wrapper upgrade & cleanup

- removed unused imports
- upgraded gradle wrapper and removed hardcoded wrapper version task
- using just RestClient instead of both HttpBuilder and RestClient