Should gradle.properties be version controlled in flutter app?

Issue

I’m devlopping an app using flutter. Should gradle.properties file be commited in git? Thanks!

Solution

The gradle.properties contains all the required information to build an app.

It is important to commit the grade.properties if you need to built an apk after the commit.

If you wish to restrict people to build an apk you can hide it.

Thank you.

Answered By – Sabarish sanjeevi

Leave a Comment