Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@G00fY2
Last active July 3, 2021 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save G00fY2/81c0aa67943cca021e915840bf73ee1b to your computer and use it in GitHub Desktop.
Save G00fY2/81c0aa67943cca021e915840bf73ee1b to your computer and use it in GitHub Desktop.
A current reference template to use for Android development collected from the official github and gitignore.io templates. The template contains OS specific files (macOS, Linux, Windows) as well as files regarding the IDE (IntelliJ IDEA/Android Studio), Gradle, Java, Kotlin, proguard, build artifacts, common plugins and many more.
# Reference gitignore https://gist.github.com/G00fY2/81c0aa67943cca021e915840bf73ee1b
# Built application files
*.apk
*.aar
*.ap_
*.aab
# Files for the ART/Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
out/
# Gradle files
.gradle
.gradle/
build/
gradle-app.setting
.gradletasknamecache
# Signing files
.signing/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Android Studio
/*/build/
/*/local.properties
/*/out
/*/*/build
/*/*/production
/*/*/staging
*.ipr
*~
*.swp
# Android Patch
gen-external-apklibs
# Android Studio Navigation editor temp files
.navigation/
# Android Studio captures folder
captures/
# IntelliJ
*.iml
*.iws
.idea/*
!.idea/codeStyles/Project.xml
!.idea/codeStyles/codeStyleConfig.xml
# optional
# !.idea/dictionaries
# !.idea/inspectionProfiles
# !.idea/runConfigurations
# !.idea/runConfigurations.xml
# Keystore files
*.jks
*.keystore
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
# NDK
obj/
# CMake
cmake-build-*/
# Google Services (e.g. APIs or Firebase)
google-services.json
# Freeline
freeline.py
freeline/
freeline_project_description.json
# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md
#Crashlytics
crashlytics-build.properties
com_crashlytics_export_strings.xml
crashlytics.properties
fabric.properties
## Plugin-specific files:
# mpeltonen/sbt-idea plugin
.idea_modules/
# Mongo Explorer plugin
.idea/mongoSettings.xml
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Editor-based Rest Client
.idea/httpRequests
## OS specific files:
# General
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment