Created
December 29, 2021 11:46
-
-
Save dileepadev/ba138545e7ce6e92e575632bcc15ed58 to your computer and use it in GitHub Desktop.
.gitignore for Android projects
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
## Android Studio Generated | |
/local.properties | |
/.idea/caches | |
/.idea/libraries | |
/.idea/modules.xml | |
/.idea/workspace.xml | |
/.idea/navEditor.xml | |
/.idea/assetWizardSettings.xml | |
/build | |
/captures | |
.cxx | |
### -------------------------- Java.gitignore --------------------------- ### | |
# Compiled class file | |
*.class | |
# Log file | |
*.log | |
# BlueJ files | |
*.ctxt | |
# Mobile Tools for Java (J2ME) | |
.mtj.tmp/ | |
# Package Files # | |
*.jar | |
*.war | |
*.nar | |
*.ear | |
*.zip | |
*.tar.gz | |
*.rar | |
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | |
hs_err_pid* | |
replay_pid* | |
### ------------------------- Kotlin.gitignore -------------------------- ### | |
.DS_Store | |
.idea/shelf | |
/confluence/target | |
/dependencies/repo | |
/android.tests.dependencies | |
/dependencies/android.tests.dependencies | |
/dist | |
/local | |
/gh-pages | |
/ideaSDK | |
/clionSDK | |
/android-studio/sdk | |
#out/ | |
/tmp | |
/intellij | |
workspace.xml | |
*.versionsBackup | |
/idea/testData/debugger/tinyApp/classes* | |
/jps-plugin/testData/kannotator | |
/js/js.translator/testData/out/ | |
/js/js.translator/testData/out-min/ | |
/js/js.translator/testData/out-pir/ | |
#.gradle/ | |
build/ | |
!**/src/**/build | |
!**/test/**/build | |
#*.iml | |
!**/testData/**/*.iml | |
.idea/remote-targets.xml | |
.idea/libraries/Gradle*.xml | |
.idea/libraries/Maven*.xml | |
.idea/artifacts/PILL_*.xml | |
.idea/artifacts/KotlinPlugin.xml | |
#.idea/modules | |
.idea/runConfigurations/JPS_*.xml | |
.idea/runConfigurations/PILL_*.xml | |
.idea/runConfigurations/_FP_*.xml | |
.idea/runConfigurations/_MT_*.xml | |
#.idea/libraries | |
#.idea/modules.xml | |
#.idea/gradle.xml | |
#.idea/compiler.xml | |
.idea/inspectionProfiles/profiles_settings.xml | |
.idea/.name | |
.idea/artifacts/dist_auto_* | |
.idea/artifacts/dist.xml | |
.idea/artifacts/ideaPlugin.xml | |
.idea/artifacts/kotlinc.xml | |
.idea/artifacts/kotlin_compiler_jar.xml | |
.idea/artifacts/kotlin_plugin_jar.xml | |
.idea/artifacts/kotlin_jps_plugin_jar.xml | |
.idea/artifacts/kotlin_daemon_client_jar.xml | |
.idea/artifacts/kotlin_imports_dumper_compiler_plugin_jar.xml | |
.idea/artifacts/kotlin_main_kts_jar.xml | |
.idea/artifacts/kotlin_compiler_client_embeddable_jar.xml | |
.idea/artifacts/kotlin_reflect_jar.xml | |
.idea/artifacts/kotlin_stdlib_js_ir_* | |
.idea/artifacts/kotlin_test_js_ir_* | |
.idea/artifacts/kotlin_stdlib_wasm_* | |
.idea/artifacts/kotlinx_atomicfu_runtime_* | |
#.idea/jarRepositories.xml | |
.idea/csv-plugin.xml | |
.idea/libraries-with-intellij-classes.xml | |
.idea/misc.xml | |
node_modules/ | |
.rpt2_cache/ | |
libraries/tools/kotlin-test-js-runner/lib/ | |
#local.properties | |
buildSrcTmp/ | |
distTmp/ | |
outTmp/ | |
/test.output | |
/kotlin-native/dist | |
kotlin-ide/ | |
### -------------------------- Android.gitignore ------------------------ ### | |
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the ART/Dalvik VM | |
*.dex | |
# Generated files | |
bin/ | |
gen/ | |
out/ | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Proguard folder generated by Eclipse | |
proguard/ | |
# Android Studio Navigation editor temp files | |
.navigation/ | |
# Android Studio captures folder | |
captures/ | |
# IntelliJ | |
.idea/workspace.xml | |
.idea/tasks.xml | |
.idea/gradle.xml | |
.idea/assetWizardSettings.xml | |
.idea/dictionaries | |
.idea/libraries | |
.idea/caches | |
# External native build folder generated in Android Studio 2.2 and later | |
.externalNativeBuild | |
# Freeline | |
freeline.py | |
freeline/ | |
freeline_project_description.json | |
# fastlane | |
fastlane/report.xml | |
fastlane/Preview.html | |
fastlane/screenshots | |
fastlane/test_output | |
fastlane/readme.md | |
# Keystore files | |
*.jks | |
*.keystore | |
### ------------------------- Gradle.gitignore -------------------------- ### | |
.gradle | |
**/build/ | |
!src/**/build/ | |
# Ignore Gradle GUI config | |
gradle-app.setting | |
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | |
!gradle-wrapper.jar | |
# Cache of project | |
.gradletasknamecache | |
# Eclipse Gradle plugin generated files | |
# Eclipse Core | |
.project | |
# JDT-specific (Eclipse Java Development Tools) | |
.classpath | |
### ------------------------- Maven.gitignore --------------------------- ### | |
target/ | |
pom.xml.tag | |
pom.xml.releaseBackup | |
pom.xml.versionsBackup | |
pom.xml.next | |
release.properties | |
dependency-reduced-pom.xml | |
buildNumber.properties | |
.mvn/timing.properties | |
# https://github.com/takari/maven-wrapper#usage-without-binary-jar | |
.mvn/wrapper/maven-wrapper.jar | |
# Eclipse m2e generated files | |
# Eclipse Core | |
#.project | |
# JDT-specific (Eclipse Java Development Tools) | |
#.classpath | |
### ------------------------ JetBrains.gitignore -------------------=---- ### | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider | |
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | |
# User-specific stuff | |
.idea/**/workspace.xml | |
.idea/**/tasks.xml | |
.idea/**/usage.statistics.xml | |
.idea/**/dictionaries | |
.idea/**/shelf | |
# AWS User-specific | |
.idea/**/aws.xml | |
# Generated files | |
.idea/**/contentModel.xml | |
# Sensitive or high-churn files | |
.idea/**/dataSources/ | |
.idea/**/dataSources.ids | |
.idea/**/dataSources.local.xml | |
.idea/**/sqlDataSources.xml | |
.idea/**/dynamic.xml | |
.idea/**/uiDesigner.xml | |
.idea/**/dbnavigator.xml | |
# Gradle | |
.idea/**/gradle.xml | |
.idea/**/libraries | |
# Gradle and Maven with auto-import | |
# When using Gradle or Maven with auto-import, you should exclude module files, | |
# since they will be recreated, and may cause churn. Uncomment if using | |
# auto-import. | |
.idea/artifacts | |
.idea/compiler.xml | |
.idea/jarRepositories.xml | |
.idea/modules.xml | |
.idea/*.iml | |
.idea/modules | |
*.iml | |
*.ipr | |
# CMake | |
cmake-build-*/ | |
# Mongo Explorer plugin | |
.idea/**/mongoSettings.xml | |
# File-based project format | |
*.iws | |
# IntelliJ | |
#out/ | |
# mpeltonen/sbt-idea plugin | |
.idea_modules/ | |
# JIRA plugin | |
atlassian-ide-plugin.xml | |
# Cursive Clojure plugin | |
.idea/replstate.xml | |
# SonarLint plugin | |
.idea/sonarlint/ | |
# Crashlytics plugin (for Android Studio and IntelliJ) | |
com_crashlytics_export_strings.xml | |
crashlytics.properties | |
crashlytics-build.properties | |
fabric.properties | |
# Editor-based Rest Client | |
.idea/httpRequests | |
# Android studio 3.1+ serialized cache file | |
.idea/caches/build_file_checksums.ser | |
### --------------------- VisualStudioCode.gitignore -------------------- ### | |
# Visual Studio Code | |
.vscode/* | |
!.vscode/settings.json | |
!.vscode/tasks.json | |
!.vscode/launch.json | |
!.vscode/extensions.json | |
*.code-workspace | |
# Local History for Visual Studio Code | |
.history/ | |
### ------------------------ Windows.gitignore ------------------------- ### | |
# Windows thumbnail cache files | |
Thumbs.db | |
Thumbs.db:encryptable | |
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 | |
### ------------------------- macOS.gitignore --------------------------- ### | |
# General | |
#.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 | |
### -------------------------- Linux.gitignore -------------------------- ### | |
*~ | |
# 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* | |
### ------------------------ Archives.gitignore ------------------------- ### | |
# It's better to unpack these files and commit the raw source because | |
# git has its own built in compression methods. | |
*.7z | |
#*.jar | |
#*.rar | |
#*.zip | |
*.gz | |
*.gzip | |
*.tgz | |
*.bzip | |
*.bzip2 | |
*.bz2 | |
*.xz | |
*.lzma | |
#*.cab | |
*.xar | |
# Packing-only formats | |
*.iso | |
*.tar | |
# Package management formats | |
*.dmg | |
*.xpi | |
*.gem | |
*.egg | |
*.deb | |
*.rpm | |
#*.msi | |
#*.msm | |
#*.msp | |
*.txz | |
### ------------------------- Backup.gitignore -------------------------- ### | |
*.bak | |
*.gho | |
*.ori | |
*.orig | |
*.tmp | |
### ---------------------------- References ----------------------------- ### | |
# Java - https://github.com/github/gitignore/blob/main/Java.gitignore | |
# Kotlin - https://github.com/JetBrains/kotlin/blob/master/.gitignore | |
# Android - https://github.com/github/gitignore/blob/main/Android.gitignore | |
# Gradle - https://github.com/github/gitignore/blob/main/Gradle.gitignore | |
# Maven - https://github.com/github/gitignore/blob/main/Maven.gitignore | |
# JetBrains - https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore | |
# VisualStudioCode - https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore | |
# Windows - https://github.com/github/gitignore/blob/main/Global/Windows.gitignore | |
# macOS - https://github.com/github/gitignore/blob/main/Global/macOS.gitignore | |
# Linux - https://github.com/github/gitignore/blob/main/Global/Linux.gitignore | |
# Archives - https://github.com/github/gitignore/blob/main/Global/Archives.gitignore | |
# Backup - https://github.com/github/gitignore/blob/main/Global/Backup.gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment