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

@@ -6,8 +6,15 @@ environment:
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
flutter_test:
sdk: flutter
pub_semver: 2.1.5