Skip to content

Commit 8f33b6c

Browse files
authored
chore: Update project (#838)
1 parent cda1145 commit 8f33b6c

20 files changed

Lines changed: 396 additions & 225 deletions

File tree

packages/example/pubspec.yaml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: google_ml_kit_example
22
description: "Demonstrates how to use the google_ml_kit plugin."
3-
3+
resolution: workspace
44
# The following line prevents the package from being accidentally published to
55
# pub.dev using `pub publish`. This is preferred for private packages.
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77
version: 1.0.0+1
88

99
environment:
10-
sdk: '>=3.4.0 <4.0.0'
11-
flutter: '>=3.22.0'
10+
sdk: ">=3.8.0 <4.0.0"
11+
flutter: ">=3.32.0"
1212

1313
dependencies:
1414
camera: ^0.11.1
@@ -21,42 +21,26 @@ dependencies:
2121
path: ^1.9.1
2222
path_provider: ^2.1.5
2323

24-
google_mlkit_commons: any
24+
google_mlkit_commons:
2525
google_mlkit_barcode_scanning:
26-
path: ../google_mlkit_barcode_scanning
2726
google_mlkit_digital_ink_recognition:
28-
path: ../google_mlkit_digital_ink_recognition
2927
google_mlkit_document_scanner:
30-
path: ../google_mlkit_document_scanner
3128
google_mlkit_face_detection:
32-
path: ../google_mlkit_face_detection
3329
google_mlkit_face_mesh_detection:
34-
path: ../google_mlkit_face_mesh_detection
3530
google_mlkit_image_labeling:
36-
path: ../google_mlkit_image_labeling
3731
google_mlkit_object_detection:
38-
path: ../google_mlkit_object_detection
3932
google_mlkit_pose_detection:
40-
path: ../google_mlkit_pose_detection
4133
google_mlkit_selfie_segmentation:
42-
path: ../google_mlkit_selfie_segmentation
4334
google_mlkit_subject_segmentation:
44-
path: ../google_mlkit_subject_segmentation
4535
google_mlkit_text_recognition:
46-
path: ../google_mlkit_text_recognition
4736

4837
google_mlkit_entity_extraction:
49-
path: ../google_mlkit_entity_extraction
5038
google_mlkit_language_id:
51-
path: ../google_mlkit_language_id
5239
google_mlkit_translation:
53-
path: ../google_mlkit_translation
5440
google_mlkit_smart_reply:
55-
path: ../google_mlkit_smart_reply
5641

57-
dependency_overrides:
58-
google_mlkit_commons:
59-
path: ../google_mlkit_commons
42+
# dependency_overrides:
43+
# google_mlkit_commons:
6044

6145
dev_dependencies:
6246
flutter_lints: ^6.0.0

packages/google_ml_kit/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use all APIs from Google's standalone ML Kit f
33
version: 0.20.0
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_ml_kit
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_barcode_scanning/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Barcode Scanning to read d
33
version: 0.14.1
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_barcode_scanning
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_commons/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin with commons files to implement google's standalo
33
version: 0.11.0
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_commons
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_digital_ink_recognition/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Digital Ink Recognition to
33
version: 0.14.1
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_digital_ink_recognition
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_document_scanner/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use the ML Kit document scanner API to easily
33
version: 0.4.0
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_document_scanner
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_entity_extraction/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Entity Extractor API to re
33
version: 0.15.2
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_entity_extraction
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_face_detection/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Face Detection to detect f
33
version: 0.13.1
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_detection
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_face_mesh_detection/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Face Mesh Detection."
33
version: 0.4.1
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_mesh_detection
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

packages/google_mlkit_image_labeling/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Image Labeling to detect a
33
version: 0.14.1
44
homepage: https://github.com/flutter-ml/google_ml_kit_flutter
55
repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_image_labeling
6+
resolution: workspace
67

78
environment:
8-
sdk: ">=3.4.0 <4.0.0"
9-
flutter: ">=3.22.0"
9+
sdk: ">=3.8.0 <4.0.0"
10+
flutter: ">=3.32.0"
1011

1112
dependencies:
1213
flutter:

0 commit comments

Comments
 (0)