Skip to content

refactor: Migrate plugin to Kotlin#845

Merged
fbernaly merged 15 commits intoflutter-ml:testfrom
bensonarafat:kotlin_migration
Feb 26, 2026
Merged

refactor: Migrate plugin to Kotlin#845
fbernaly merged 15 commits intoflutter-ml:testfrom
bensonarafat:kotlin_migration

Conversation

@bensonarafat
Copy link
Collaborator

No description provided.

@bensonarafat bensonarafat marked this pull request as ready for review February 26, 2026 07:17
@fbernaly
Copy link
Collaborator

@bensonarafat :

This branch is out-of-date with the base branch
Merge the latest changes from develop into this branch. This merge commit will be associated with fbernaly.

@bensonarafat
Copy link
Collaborator Author

Updated @fbernaly

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates multiple Google ML Kit Flutter plugins from Java to Kotlin across numerous packages. The migration includes rewriting all Android plugin implementations and updating build configurations to support Kotlin.

Changes:

  • Migrated 20+ ML Kit plugins from Java to Kotlin with equivalent functionality
  • Updated build.gradle files to include Kotlin plugin support and dependencies
  • Added Gradle wrapper configurations for gradle-9.0-milestone-1
  • Removed Java source files and added Kotlin replacements

Reviewed changes

Copilot reviewed 124 out of 125 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
google_mlkit_translation Translated TextTranslator and plugin to Kotlin
google_mlkit_text_recognition Migrated text recognition implementation
google_mlkit_subject_segmentation Converted segmentation with typo in channel name
google_mlkit_smart_reply Migrated smart reply handler
google_mlkit_selfie_segmentation Converted selfie segmentation logic
google_mlkit_pose_detection Migrated pose detection
google_mlkit_object_detection Converted plugin file only
google_mlkit_language_id Migrated language identification
google_mlkit_image_labeling Converted image labeling logic
google_mlkit_genai_* Migrated all genai packages (summarization, speech recognition, rewriting, proofreading, prompt, image description)
google_mlkit_face_* Migrated face mesh and face detection
google_mlkit_entity_extraction Converted entity extraction
google_mlkit_document_scanner Migrated document scanning with activity handling
google_mlkit_digital_ink_recognition Converted digital ink recognition
google_mlkit_barcode_scanning Migrated barcode scanning

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fbernaly
Copy link
Collaborator

@bensonarafat: address Copilot's review comments, thanks.

@bensonarafat
Copy link
Collaborator Author

@fbernaly Fixed

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 124 out of 125 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fbernaly fbernaly changed the base branch from develop to test February 26, 2026 19:39
@fbernaly fbernaly merged commit 9d4b21f into flutter-ml:test Feb 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants