UE mobile, AnDroid. Using R8 / „ProGuard“

How use R8 or ProGuard in UE 5 to optimize app (make smaller app size and automatic remove unused assets, dependenses, libaries, code)?