-
-
Save keyboardsurfer/3240022 to your computer and use it in GitHub Desktop.
# Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer | |
# Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode) | |
# built application files | |
*.apk | |
*.ap_ | |
*.jar | |
!gradle/wrapper/gradle-wrapper.jar | |
# lint folder | |
lint | |
# files for the dex VM | |
*.dex | |
# Java class files | |
*.class | |
# generated files | |
bin/ | |
gen/ | |
classes/ | |
gen-external-apklibs/ | |
# maven output folder | |
target | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Eclipse project files | |
.classpath | |
.project | |
.metadata | |
.settings | |
# IntelliJ files | |
.idea | |
*.iml | |
# OSX files | |
.DS_Store | |
# Windows files | |
Thumbs.db | |
# vi swap files | |
*.swp | |
# backup files | |
*.bak | |
# gradle directory | |
.gradle | |
build/ | |
#for oh-my-zsh jira plugin (https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins#jira) | |
.jira-url | |
atlassian-ide-plugin.xml |
@Ocramius: the one I'm using is way more complete than the one in your link. Maybe I'll fork and file a pull request though...
I've checked github's gitignore files. They provide an excellent starting point. But you'd have to merge the files for each new project. My Android gitignore is targeted for developers that are mainly developing software for Android, no matter what OS or build tool they use locally.
Doesn't line#4 (*.jar) block any libraries (like "android-support-v4.jar") in your libs folder?
@Oka133 Yes, that's true. Since I'm building with maven, I don't need any jar files in my repository.
Do you know a way to include jar files from any libs folder within the project structure?
I'd be happy to add it.
Thanks i needed this for some of my developers who didn't have a clue what to exclude. :-) happyness. LOL
You should PR https://github.com/github/gitignore/blob/master/Android.gitignore instead