From ba9360f0636b3b1eaa0e22e774e6789598cea5a9 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Thu, 1 Jun 2023 11:23:57 +0200 Subject: [PATCH] Fix dependency conflicts in some examples --- drift_sqflite/pubspec.yaml | 4 ---- examples/encryption/pubspec.yaml | 7 ++----- extras/encryption/pubspec.yaml | 4 ---- .../macos/Flutter/GeneratedPluginRegistrant.swift | 2 -- 4 files changed, 2 insertions(+), 15 deletions(-) diff --git a/drift_sqflite/pubspec.yaml b/drift_sqflite/pubspec.yaml index 76884d1f..96303d4a 100644 --- a/drift_sqflite/pubspec.yaml +++ b/drift_sqflite/pubspec.yaml @@ -27,7 +27,3 @@ dev_dependencies: flutter: assets: - test_asset.db - -dependency_overrides: - # Flutter's test packages don't support the latest analyzer yet. - test_api: ^0.4.16 diff --git a/examples/encryption/pubspec.yaml b/examples/encryption/pubspec.yaml index a51ef9bc..637b63f9 100644 --- a/examples/encryption/pubspec.yaml +++ b/examples/encryption/pubspec.yaml @@ -5,7 +5,8 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ">=2.17.6 <3.0.0" + sdk: ">=2.17.6 <4.0.0" + dependencies: drift: ^2.0.2+1 sqlcipher_flutter_libs: ^0.5.1 @@ -24,7 +25,3 @@ dev_dependencies: flutter: uses-material-design: true - -dependency_overrides: - # Flutter's test packages don't support the latest analyzer yet. - test_api: ^0.4.16 diff --git a/extras/encryption/pubspec.yaml b/extras/encryption/pubspec.yaml index a82a08ea..d9678fc7 100644 --- a/extras/encryption/pubspec.yaml +++ b/extras/encryption/pubspec.yaml @@ -21,7 +21,3 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - -dependency_overrides: - # Flutter's test packages don't support the latest analyzer yet. - test_api: ^0.4.16 diff --git a/extras/integration_tests/ffi_on_flutter/macos/Flutter/GeneratedPluginRegistrant.swift b/extras/integration_tests/ffi_on_flutter/macos/Flutter/GeneratedPluginRegistrant.swift index 4856abc9..a76a051a 100644 --- a/extras/integration_tests/ffi_on_flutter/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/extras/integration_tests/ffi_on_flutter/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,10 +5,8 @@ import FlutterMacOS import Foundation -import sqflite import sqlite3_flutter_libs func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin")) }