Last active
December 11, 2019 01:55
-
-
Save keyboardsurfer/3240022 to your computer and use it in GitHub Desktop.
Android gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.