1+ # Do not remove or rename entries in this file, only add new ones
2+ # See https://github.com/flutter/flutter/issues/128635 for more context.
3+
14# Miscellaneous
25* .class
6+ * .lock
37* .log
48* .pyc
59* .swp
610.DS_Store
711.atom /
8- .build /
912.buildlog /
1013.history
1114.svn /
12- .swiftpm /
13- migrate_working_dir /
15+
16+ # As packages are no longer pinned, we use a lockfile for testing locally.
17+ # When unpinning packages, Using lockfiles ensures that failures in PRs are
18+ # actually due to those PRs, not due to a package being updated.
19+ ! /pubspec.lock
1420
1521# IntelliJ related
1622* .iml
1723* .ipr
1824* .iws
1925.idea /
2026
21- # The .vscode folder contains launch configuration and tasks you configure in
22- # VS Code which you may wish to be included in version control, so this line
23- # is commented out by default.
24- # .vscode/
27+ # Visual Studio Code related
28+ .classpath
29+ .project
30+ .settings /
31+ .vscode /*
32+ .ccls-cache
33+
34+ # This file, on the master branch, should never exist or be checked-in.
35+ #
36+ # On a *final* release branch, that is, what will ship to stable or beta, the
37+ # file can be force added (git add --force) and checked-in in order to effectively
38+ # "pin" the engine artifact version so the flutter tool does not need to use git
39+ # to determine the engine artifacts.
40+ #
41+ # See https://github.com/flutter/flutter/blob/main/docs/tool/Engine-artifacts.md.
42+ /bin /internal /engine.version
43+
44+ # Flutter repo-specific
45+ /bin /cache /
46+ /bin /internal /bootstrap.bat
47+ /bin /internal /bootstrap.sh
48+ /bin /internal /engine.realm
49+ /bin /mingit /
50+ /dev /benchmarks /mega_gallery /
51+ /dev /bots /.recipe_deps
52+ /dev /bots /android_tools /
53+ /dev /devicelab /ABresults * .json
54+ /dev /docs /doc /
55+ /dev /docs /api_docs.zip
56+ /dev /docs /flutter.docs.zip
57+ /dev /docs /lib /
58+ /dev /docs /pubspec.yaml
59+ /dev /integration_tests /** /xcuserdata
60+ /dev /integration_tests /** /Pods
61+ /packages /flutter /coverage /
62+ version
63+ analysis_benchmark.json
64+
65+ # packages file containing multi-root paths
66+ .packages.generated
2567
2668# Flutter/Dart/Pub related
2769** /doc /api /
28- ** /ios /Flutter /.last_build_id
2970.dart_tool /
30- .flutter-plugins
3171.flutter-plugins-dependencies
72+ ** /generated_plugin_registrant.dart
73+ .packages
74+ .pub-preload-cache /
3275.pub-cache /
3376.pub /
34- /build /
77+ build /
78+ flutter_ * .png
79+ linked_ * .ds
80+ unlinked.ds
81+ unlinked_spec.ds
82+
83+ # Android related
84+ ** /android /** /gradle-wrapper.jar
85+ .gradle /
86+ ** /android /captures /
87+ ** /android /gradlew
88+ ** /android /gradlew.bat
89+ ** /android /** /GeneratedPluginRegistrant.java
90+ ** /android /key.properties
91+ * .jks
92+ local.properties
93+ ** /.cxx /
3594
36- # Symbolication related
95+ # iOS/XCode related
96+ ** /ios /** /* .mode1v3
97+ ** /ios /** /* .mode2v3
98+ ** /ios /** /* .moved-aside
99+ ** /ios /** /* .pbxuser
100+ ** /ios /** /* .perspectivev3
101+ ** /ios /** /* sync /
102+ ** /ios /** /.sconsign.dblite
103+ ** /ios /** /.tags *
104+ ** /ios /** /.vagrant /
105+ ** /ios /** /DerivedData /
106+ ** /ios /** /Icon ?
107+ ** /ios /** /Pods /
108+ ** /ios /** /.symlinks /
109+ ** /ios /** /profile
110+ ** /ios /** /xcuserdata
111+ ** /ios /.generated /
112+ ** /ios /Flutter /.last_build_id
113+ ** /ios /Flutter /App.framework
114+ ** /ios /Flutter /Flutter.framework
115+ ** /ios /Flutter /Flutter.podspec
116+ ** /ios /Flutter /Generated.xcconfig
117+ ** /ios /Flutter /ephemeral
118+ ** /ios /Flutter /app.flx
119+ ** /ios /Flutter /app.zip
120+ ** /ios /Flutter /flutter_assets /
121+ ** /ios /Flutter /flutter_export_environment.sh
122+ ** /ios /ServiceDefinitions.json
123+ ** /ios /Runner /GeneratedPluginRegistrant. *
124+
125+ # macOS
126+ ** /Flutter /ephemeral /
127+ ** /Pods /
128+ ** /macos /Flutter /GeneratedPluginRegistrant.swift
129+ ** /macos /Flutter /ephemeral
130+ ** /xcuserdata /
131+
132+ # Windows
133+ ** /windows /flutter /ephemeral /
134+ ** /windows /flutter /generated_plugin_registrant.cc
135+ ** /windows /flutter /generated_plugin_registrant.h
136+ ** /windows /flutter /generated_plugins.cmake
137+
138+ # Linux
139+ ** /linux /flutter /ephemeral /
140+ ** /linux /flutter /generated_plugin_registrant.cc
141+ ** /linux /flutter /generated_plugin_registrant.h
142+ ** /linux /flutter /generated_plugins.cmake
143+
144+ # Coverage
145+ coverage /
146+
147+ # Symbols
37148app. * .symbols
38149
39- # Obfuscation related
40- app. * .map.json
150+ # Exceptions to above rules.
151+ ! ** /ios /** /default.mode1v3
152+ ! ** /ios /** /default.mode2v3
153+ ! ** /ios /** /default.pbxuser
154+ ! ** /ios /** /default.perspectivev3
155+ ! /packages /flutter_tools /test /data /dart_dependencies_test /** /.packages
156+ ! /dev /ci /** /Gemfile.lock
157+ ! .vscode /settings.json
41158
42- # Android Studio will place build artifacts here
43- /android /app /debug
44- /android /app /profile
45- /android /app /release
159+ # Monorepo
160+ .cipd
161+ .gclient
162+ .gclient_entries
163+ .python-version
164+ .gclient_previous_custom_vars
165+ .gclient_previous_sync_commits
166+ .flutter-plugins
167+ /lib /main.config.dart
168+ * .freezed.dart
169+ * .g.dart
170+ * /di.config.dart
171+ * .mocks.dart
0 commit comments