title: Android how to add drawables from external folder during build using gradle
body: <p>I would like to show weather condition and temperature icon under StatusBar.</p>
  
  <p>I have generated a few thousands of all possible combinations which I will set as small icon of <code>Notification</code> <code>Builder</code>, because it can work only with drawable res (you have to specify <code>res id</code>) </p>
  
  <p>However, I don't want to have all that drawables in my drawable folder to keep it clean.</p>
  
  <p>Also I don't want Android Studio to see that drawables, because it begins lagging.</p>
  
  <p>Is it possible to add these icons from some external storage during build of the app?</p>
  
  <p><strong>NOTE:</strong> </p>
  
  <p><code>main.res.srcDirs +=</code> option will not help, since AndroidStudio will show them under the drawable folder.</p>
  
  <p>It is fine for me that during development Android Studio will not see <code>R ids</code> for corresponding drawables, because I use <code>Resources.getIdentifier(resurseName, "drawable", appPackageName)</code> in order to get id.</p>