From 4175e6bea796448dbd06811eb3608b5a2081429d Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Tue, 25 Feb 2025 16:03:50 -0500 Subject: [PATCH] [various] Remove plugin-level `integration_test` dependencies Many of our plugins have `dev_dependencies` on `integration_test` at the plugin level, for some reason. Integration tests run in the example app, not the plugin, so only the example app should need the dependency. In pratice it shouldn't matter since it's a dev dependency, but it's best to be accurate about our requirements. --- packages/camera/camera_android_camerax/pubspec.yaml | 2 -- packages/google_sign_in/google_sign_in/pubspec.yaml | 2 -- packages/google_sign_in/google_sign_in_android/pubspec.yaml | 2 -- packages/google_sign_in/google_sign_in_ios/pubspec.yaml | 2 -- packages/in_app_purchase/in_app_purchase/pubspec.yaml | 2 -- packages/local_auth/local_auth/pubspec.yaml | 2 -- packages/path_provider/path_provider/pubspec.yaml | 2 -- packages/path_provider/path_provider_android/pubspec.yaml | 2 -- packages/quick_actions/quick_actions/pubspec.yaml | 2 -- packages/quick_actions/quick_actions_android/pubspec.yaml | 2 -- packages/quick_actions/quick_actions_ios/pubspec.yaml | 2 -- packages/shared_preferences/shared_preferences/pubspec.yaml | 2 -- 12 files changed, 24 deletions(-) diff --git a/packages/camera/camera_android_camerax/pubspec.yaml b/packages/camera/camera_android_camerax/pubspec.yaml index fb7e6f0e317..2aa890133b7 100644 --- a/packages/camera/camera_android_camerax/pubspec.yaml +++ b/packages/camera/camera_android_camerax/pubspec.yaml @@ -29,8 +29,6 @@ dev_dependencies: build_runner: ^2.2.0 flutter_test: sdk: flutter - integration_test: - sdk: flutter leak_tracker_flutter_testing: any mockito: ^5.4.4 pigeon: ^9.1.0 diff --git a/packages/google_sign_in/google_sign_in/pubspec.yaml b/packages/google_sign_in/google_sign_in/pubspec.yaml index ee1a1e0b61d..9f52c627db3 100644 --- a/packages/google_sign_in/google_sign_in/pubspec.yaml +++ b/packages/google_sign_in/google_sign_in/pubspec.yaml @@ -34,8 +34,6 @@ dev_dependencies: flutter_test: sdk: flutter http: ">=0.13.0 <2.0.0" - integration_test: - sdk: flutter mockito: ^5.4.4 topics: diff --git a/packages/google_sign_in/google_sign_in_android/pubspec.yaml b/packages/google_sign_in/google_sign_in_android/pubspec.yaml index 24e1f19973c..2d276a00cc8 100644 --- a/packages/google_sign_in/google_sign_in_android/pubspec.yaml +++ b/packages/google_sign_in/google_sign_in_android/pubspec.yaml @@ -26,8 +26,6 @@ dev_dependencies: build_runner: ^2.3.0 flutter_test: sdk: flutter - integration_test: - sdk: flutter mockito: ^5.4.4 pigeon: ^24.2.0 diff --git a/packages/google_sign_in/google_sign_in_ios/pubspec.yaml b/packages/google_sign_in/google_sign_in_ios/pubspec.yaml index 9c24833e595..9731d5cffb2 100644 --- a/packages/google_sign_in/google_sign_in_ios/pubspec.yaml +++ b/packages/google_sign_in/google_sign_in_ios/pubspec.yaml @@ -30,8 +30,6 @@ dev_dependencies: build_runner: ^2.4.6 flutter_test: sdk: flutter - integration_test: - sdk: flutter mockito: ^5.4.4 pigeon: ^22.4.2 diff --git a/packages/in_app_purchase/in_app_purchase/pubspec.yaml b/packages/in_app_purchase/in_app_purchase/pubspec.yaml index 1c7e611ad2f..b9cdb234c14 100644 --- a/packages/in_app_purchase/in_app_purchase/pubspec.yaml +++ b/packages/in_app_purchase/in_app_purchase/pubspec.yaml @@ -28,8 +28,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter plugin_platform_interface: ^2.1.7 test: ^1.16.0 diff --git a/packages/local_auth/local_auth/pubspec.yaml b/packages/local_auth/local_auth/pubspec.yaml index e8156067086..dc495efd488 100644 --- a/packages/local_auth/local_auth/pubspec.yaml +++ b/packages/local_auth/local_auth/pubspec.yaml @@ -32,8 +32,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter mockito: ^5.4.4 plugin_platform_interface: ^2.1.7 diff --git a/packages/path_provider/path_provider/pubspec.yaml b/packages/path_provider/path_provider/pubspec.yaml index c972341e43b..f8379a62852 100644 --- a/packages/path_provider/path_provider/pubspec.yaml +++ b/packages/path_provider/path_provider/pubspec.yaml @@ -34,8 +34,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter plugin_platform_interface: ^2.1.7 test: ^1.16.0 diff --git a/packages/path_provider/path_provider_android/pubspec.yaml b/packages/path_provider/path_provider_android/pubspec.yaml index 9674e6a1703..578adb88bf9 100644 --- a/packages/path_provider/path_provider_android/pubspec.yaml +++ b/packages/path_provider/path_provider_android/pubspec.yaml @@ -25,8 +25,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter pigeon: ^22.4.2 test: ^1.16.0 diff --git a/packages/quick_actions/quick_actions/pubspec.yaml b/packages/quick_actions/quick_actions/pubspec.yaml index a8e9f4e1c24..4ea40d1d3fc 100644 --- a/packages/quick_actions/quick_actions/pubspec.yaml +++ b/packages/quick_actions/quick_actions/pubspec.yaml @@ -27,8 +27,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter mockito: ^5.4.4 plugin_platform_interface: ^2.1.7 diff --git a/packages/quick_actions/quick_actions_android/pubspec.yaml b/packages/quick_actions/quick_actions_android/pubspec.yaml index c5e8b167892..61b0c60b85a 100644 --- a/packages/quick_actions/quick_actions_android/pubspec.yaml +++ b/packages/quick_actions/quick_actions_android/pubspec.yaml @@ -25,8 +25,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter pigeon: ^24.0.0 plugin_platform_interface: ^2.1.7 diff --git a/packages/quick_actions/quick_actions_ios/pubspec.yaml b/packages/quick_actions/quick_actions_ios/pubspec.yaml index 973b5f9cdb5..df9783ce1d8 100644 --- a/packages/quick_actions/quick_actions_ios/pubspec.yaml +++ b/packages/quick_actions/quick_actions_ios/pubspec.yaml @@ -24,8 +24,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter pigeon: ^20.0.1 plugin_platform_interface: ^2.1.7 diff --git a/packages/shared_preferences/shared_preferences/pubspec.yaml b/packages/shared_preferences/shared_preferences/pubspec.yaml index 6d6a20f725f..3f535a86a02 100644 --- a/packages/shared_preferences/shared_preferences/pubspec.yaml +++ b/packages/shared_preferences/shared_preferences/pubspec.yaml @@ -38,8 +38,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - integration_test: - sdk: flutter path: ^1.9.0 topics: