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

@@ -10,6 +10,16 @@ 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
integration_test_macos:
path: ../integration_test_macos
cupertino_icons: 1.0.8
web: 1.1.0
@@ -24,10 +34,6 @@ dev_dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
integration_test:
sdk: flutter
integration_test_macos:
path: ../integration_test_macos
test: 1.25.12
pedantic: 1.11.1