mirror of https://github.com/AMT-Cheif/drift.git
Fix dependency conflicts in some examples
This commit is contained in:
parent
07fe555753
commit
ba9360f063
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue