package Ġat . sun il son . vehicle . di Ċ Ċ import Ġat . sun il son . authentication . di . Authentication Module . AUTHENT IC ATED _ HTTP _ CLIENT Ċ import Ġat . sun il son . vehicle . data . Vehicle Service Ċ import Ġat . sun il son . vehicle core . data . Constants . K AM ERE ON _ BASE _ URL Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . components . Singleton Component Ċ import Ġokhttp 3 . Ok HttpClient Ċ import Ġretrofit 2 . Ret rofit Ċ import Ġretrofit 2 . converter . mos hi . M oshi Converter Factory Ċ import Ġjavax . inject . Named Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Install In ( Singleton Component :: class ) Ċ @ Module Ċ object ĠVehicle Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġinternal Ġfun Ġprovide Vehicle Service (@ Named ( AUTHENT IC ATED _ HTTP _ CLIENT ) Ġok HttpClient : ĠOk HttpClient ) Ġ= ĊĠĠĠĠĠĠĠ ĠRet rofit ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. Builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. client ( ok HttpClient ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Converter Factory ( M oshi Converter Factory . create ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. baseUrl ( K AM ERE ON _ BASE _ URL ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. create ( Vehicle Service :: class . java ) Ċ } Ċ