Access project related data from Gradle command

Viewed 266

I need project related data like project name,app version and its main module from gradle based android project. I have tried various tasks like project,properties but none of it giving me specific information i need.

Is there a way to find version code,app name and main android module using gradle in command line?

4 Answers
Related