@havesource/cordova-plugin-push: Getting ":app:compileDebugKotlin FAILED" error

I had same problem, I solved as reported here: