Friday, October 25, 2013

on Leave a Comment

Android Quick Tip: .gitignore for Android Studio and Intellij

I am in the midst of transitioning to Intellij for my Android development. Part of that transition means updating my .gitignore file. There are a lot of mixed answers out there on sites such as StackOverflow concerning exactly what should be versioned and what should not. After a lot of digging and combining of sources I think I found the solution. If you see anything missing or have some suggestions please comment below.

Jetbrains recommends including all of the IDE files except for the those ending in .iws, the workspace.xml file, and tasks.xml. I also added the .gradle file to the ignore list as it is generated. Everything else remains the same.

Powered by Blogger.