-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitignore
More file actions
212 lines (182 loc) · 5.97 KB
/
.gitignore
File metadata and controls
212 lines (182 loc) · 5.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# ==============================================================================
# Flutter & Dart Common .gitignore
# ==============================================================================
#
# This file is organized in two sections:
# 1. Common Rules: Always applied for both Flutter apps and libraries.
# 2. Specific Rules: Sensitive or optional rules that are active by default.
#
# By default, this configuration is conservative:
# Sensitive/generated files are ignored unless you deliberately modify the file.
# ==============================================================================
###############################################################################
# 1. Common Rules for Flutter Applications and Libraries
###############################################################################
## Flutter & Dart Generated Files & Caches
# Build artifacts and generated files (do not commit these)
build/
coverage/
.dart_tool/
.fvm/
# Plugin-related generated files
.flutter-plugins
.flutter-plugins-dependencies
# Generated plugin registrant for Flutter web and other platforms
lib/generated_plugin_registrant.dart
# Documentation generated by dartdoc
doc/api/
# Dependency cache directories
.pub-cache/
.pub/
## Platform-Specific Build Artifacts
### Android
# Gradle wrapper and build system files
**/android/**/gradle-wrapper.jar
**/android/.gradle/
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
# Local configuration files (do not commit these)
**/android/local.properties
**/android/key.properties
# Auto-generated plugin registrant
**/android/**/GeneratedPluginRegistrant.java
# Keystore files (if present)
*.jks
# Android Studio build outputs
/android/app/debug
/android/app/profile
/android/app/release
### iOS & Xcode
# Xcode and iOS build artifacts
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata/
**/ios/.generated/
# Flutter iOS-specific build files
**/ios/Flutter/.last_build_id
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/ephemeral
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
# Exceptions: Retain default Xcode configuration files
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
### macOS
# macOS build and generated files
**/macos/Flutter/GeneratedPluginRegistrant.swift
**/macos/Flutter/ephemeral
**/xcuserdata/
### Windows
# Windows build and generated files
**/windows/flutter/ephemeral/
**/windows/flutter/generated_plugin_registrant.cc
**/windows/flutter/generated_plugin_registrant.h
**/windows/flutter/generated_plugins.cmake
### Linux
# Linux build and generated files
**/linux/flutter/ephemeral/
**/linux/flutter/generated_plugin_registrant.cc
**/linux/flutter/generated_plugin_registrant.h
**/linux/flutter/generated_plugins.cmake
## IDEs and Editor Settings
# IntelliJ IDEA and Android Studio project files
*.iml
*.ipr
*.iws
.idea/
# Eclipse, VS Code, and related settings
.classpath
.project
.settings/
.vscode/*
!.vscode/settings.json
.ccls-cache
# Other editors
.atom/
## Miscellaneous System Files & Temporary Files
.DS_Store
.buildlog/
.history
.svn/
*.pyc
*.swp
## Web & JavaScript Generated Files
*.dart.js
*.info.json
*.js
*.js_
*.js.deps
*.js.map
## Environment Variable Files
.env*
## Symbolication and Obfuscation Files
app.*.symbols
app.*.map.json
###############################################################################
# 2. Specific Rules (Active by Default)
###############################################################################
#
# These rules target files and directories that might contain sensitive data
# or are used in specific contexts (e.g. Flutter framework repos, libraries).
# If you need to commit any of these files (for example, in a Flutter app),
# manually comment out the corresponding rule.
#
# ------------------------------------------------------------------------------
# Dependency Management: Pubspec Lock File
# ------------------------------------------------------------------------------
# For Flutter applications it is recommended to commit pubspec.lock.
# For libraries, ignoring pubspec.lock avoids unintentional publishing.
# By default, this rule is active (conservative). Comment it out if you want to commit pubspec.lock.
pubspec.lock
# ------------------------------------------------------------------------------
# Firebase Configuration Files
# ------------------------------------------------------------------------------
# The .firebase folder may contain sensitive Firebase credentials.
# Ignoring it by default prevents accidental commits. Comment out if you need to include it.
.firebase/
# ------------------------------------------------------------------------------
# Flutter Repository–Specific Files (Monorepos/Framework Repos)
# ------------------------------------------------------------------------------
# These files are part of the Flutter framework repository.
# If you are not working on the Flutter framework itself, these should remain ignored.
bin/internal/engine.version
/bin/cache/
/bin/internal/bootstrap.*
/bin/mingit/
dev/benchmarks/mega_gallery/
dev/bots/
dev/devicelab/
dev/docs/
dev/integration_tests/
packages/flutter/coverage/
version
analysis_benchmark.json
.packages.generated
# ------------------------------------------------------------------------------
# Additional Local Environment or Custom Use Cases
# ------------------------------------------------------------------------------
# If you have local editor configuration files or other custom setups that
# you prefer not to share, they are ignored by default.
.vscode/