use HttpBuilder instead of RestClient in the gradle plugin as the RestClient does not handle streaming responses