Android Push notification icon

I am trying to set a custom icon for the Android Push Notification.  

I read from this post, that I need to overwrite the Corona default notification icon by  _ " __ set up your Android project with the same “drawable” directories under your “res” directory. Add each “IconNotification*.png” icon to their respective drawable directory by resolution and version. You also *must* rename these PNG files to “corona_statusbar_icon_default.png” _."

My project already had a those res/drawables folders but the files are getting overwritten by Corona’s default ones due to the copyCoronaResources gradle tasks that does the following:

task copyCoronaResources(type: Copy, description: 'include resources from Corona Enterprise') { from fileTree(dir: "$coronaEnterpriseAndroidLibDir/res", include: '\*\*/\*') into "$projectDir/src/main/res" dependsOn 'compileLua' doFirst { println '== copyCoronaResources ==' } }

What am I missing?  How should I set my custom Android Push/Status bar icons?

Have you tried making a small change to the copyCoronaResources task of build.gradle to ignore the notification icons provided in the Corona library project? To do this, replace the ‘from fileTree(…)’ line with the following:

from fileTree(dir: "$coronaEnterpriseAndroidLibDir/res", exclude: '\*\*/corona\_statusbar\_icon\_default.png')

Thanks @ingemar_cl.  That is a good solution and exactly what I was looking for. 

Another workaround that I found is to have a custom ‘res’ folder place outside and have a task similar to copyCoronaResources that is executed after it, so I could have my files to copied over after the ones from Corona.

Have you tried making a small change to the copyCoronaResources task of build.gradle to ignore the notification icons provided in the Corona library project? To do this, replace the ‘from fileTree(…)’ line with the following:

from fileTree(dir: "$coronaEnterpriseAndroidLibDir/res", exclude: '\*\*/corona\_statusbar\_icon\_default.png')

Thanks @ingemar_cl.  That is a good solution and exactly what I was looking for. 

Another workaround that I found is to have a custom ‘res’ folder place outside and have a task similar to copyCoronaResources that is executed after it, so I could have my files to copied over after the ones from Corona.