Why will the resources (e.g images) in the jar file be removed when publish android library as AAR to maven repository in Android Gradle Plugin 3.0

This question is about Android Gradle Plugin 3.0.0.

My question was written in Stackoverflow. But no answer by now. I encounter this question and badly need to resolve it. I couldn’t figure it out by myself. I think Gradle Forums is a more professional place. Thank you.

Anybody can help me?