[Android] How to build CoronaCards.aar from source

How can I build Coronacards.aar from the source, similar to how the release artifacts on https://github.com/coronalabs/corona/releases/tag/3617

I am able to compile https://github.com/coronalabs/corona/tree/master/platform/android in my Android studio, but just dont know which target or task to run to get this aar generated.

Any ideas on how to do this ?

You can find Vlad’s answer from GitHub, below.