I am using Android Studio 0.4.6 and Gradle 1.10. I want to commit into git the necessary files and folders, so that anyone cloning the repository can start working with the project and will not have any issues of missing files/settings because of not commited file. Could someone point what is needed to be into VCS and what is optional.
From question: "gradle directory in an Android Studio project" I see that the gradle/ folder is good to have it, but what about .idea/, .gradle/, gradlew.bat etc... I see inside local.properties that it should not be commited, but what about everything else?
Here is my .gitignore that works perfect for me now:
/app/build
.idea/workspace.xml
.idea/tasks.xml
.gradle
local.properties