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:
flutter:
sdk: flutter
# 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
characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.19.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
material_color_utilities: 0.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -22,8 +30,6 @@ dependencies:
vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
integration_test:
sdk: flutter
flutter_driver:
sdk: flutter
flutter_goldens: