Pushraven icon indicating copy to clipboard operation
Pushraven copied to clipboard

Detect OpenFeign, Retrofit or OkHttp on classpath and use those instead

Open iamareebjamal opened this issue 8 years ago • 2 comments

OpenFeign or Retrofit are generally included to create REST API consumers along with OkHttp3 which has a better performance and API than HttpUrlConnection

iamareebjamal avatar Dec 28 '17 18:12 iamareebjamal

I am not too sure how I would go about doing this. How can I detect these on the classpath without including them as a dependency?

Raudius avatar Dec 29 '17 11:12 Raudius

These won't be transitive dependencies. And would be provided by the developer when including the library. This can be taken later on as its just an enhancement

iamareebjamal avatar Dec 29 '17 11:12 iamareebjamal