APK package for distribution fails with third-party plugins

Hi!

I’m trying to pack a signed APK for distribution, but get an error :app:transformClassesAndResourcesWithProguardForRelease

The thing is package is successful if I pack without “For Distribution” flag, OR without our third-party plugins.

Why this error might appear? I do not know what to look for.