title: Junit Android Settings
body: <p>For running the espresso Junit , I want to run the application in offline mode.
  and for offline mode i have done following changes.
  I have kept all the jsons in the asset folder and from that json i am fetching the data for my application various modules.
  I have following queries with my android Project.</p>
  
  <p>Is there any way in gradle , manifest or application class from where i can set the condition that for normal flow app should work on online actual services while for junit run it should run in offline mode.</p>
  
  <p>Second query is that for normal apk , i don't want to include all these jsons which i have kept in my asset folder . How i can achieve same from gradle. </p>