|
| 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 | + |
| 4 | +# Miscellaneous |
| 5 | +*.class |
| 6 | +*.lock |
| 7 | +*.log |
| 8 | +*.pyc |
| 9 | +*.swp |
| 10 | +.DS_Store |
| 11 | +.atom/ |
| 12 | +.buildlog/ |
| 13 | +.history |
| 14 | +.svn/ |
| 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 |
| 20 | + |
| 21 | +# IntelliJ related |
| 22 | +*.iml |
| 23 | +*.ipr |
| 24 | +*.iws |
| 25 | +.idea/ |
| 26 | + |
| 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 |
| 67 | + |
| 68 | +# Flutter/Dart/Pub related |
| 69 | +**/doc/api/ |
| 70 | +.dart_tool/ |
| 71 | +.flutter-plugins-dependencies |
| 72 | +**/generated_plugin_registrant.dart |
| 73 | +.packages |
| 74 | +.pub-preload-cache/ |
| 75 | +.pub-cache/ |
| 76 | +.pub/ |
| 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/ |
| 94 | + |
| 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 |
| 148 | +app.*.symbols |
| 149 | + |
| 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 |
| 158 | + |
| 159 | +# Monorepo |
| 160 | +.cipd |
| 161 | +.gclient |
| 162 | +.gclient_entries |
| 163 | +.python-version |
| 164 | +.gclient_previous_custom_vars |
| 165 | +.gclient_previous_sync_commits |
0 commit comments