Move integration_test dependencies to non-dev_dependencies. (#160380)

First part of https://github.com/flutter/flutter/issues/160379.

This should be a NOP, because without the
`explicit-package-dependencies` feature flag, all dependencies
(including dev_dependencies) are considered, for the purposes of
plugins, non-dev dependencies.

This change prepares for flipping that flag, so when the flip occurs, it
is _also_ a NOP for these tests.
This commit is contained in:
Matan Lurey
2024-12-16 14:42:01 -08:00
committed by GitHub
parent 71f140ee16
commit 256ad9f9cb
14 changed files with 107 additions and 20 deletions

View File

@@ -15,6 +15,14 @@ dependencies:
scoped_model: 2.0.0
shrine_images: 2.0.2
# TODO(matanlurey): Move to dev_dependencies (https://github.com/flutter/flutter/issues/160379).
#
# As part of https://github.com/flutter/flutter/issues/160257, integration_test as a dev_dependency
# will be removed in release mode, but some of our tests and CI tasks are written in a way where they
# expect integration_test to never be removed.
integration_test:
sdk: flutter
# Also update dev/benchmarks/complex_layout/pubspec.yaml
# and dev/benchmarks/macrobenchmarks/pubspec.yaml
flutter_gallery_assets: 1.0.2
@@ -51,8 +59,6 @@ dev_dependencies:
flutter_goldens:
sdk: flutter
test: 1.25.12
integration_test:
sdk: flutter
_fe_analyzer_shared: 76.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
analyzer: 6.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"