flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
990 stars 747 forks source link

fix: Update build.gradle #714

Open SuryaAbyss opened 3 weeks ago

SuryaAbyss commented 3 weeks ago

Reviewed Your Gradle Build Script: We looked at your original Gradle build script for the Android library related to Google ML Kit Barcode Scanning.

Made Corrections and Improvements:

Changed rootProject.allprojects to allprojects: Simplified the repository declaration.

Added targetSdkVersion: Included this field in the defaultConfig for better practice.

Simplified Namespace Check: Streamlined the conditional check for the namespace property.

Provided a Revised Script: I shared the corrected version of your Gradle build script with the improvements integrated.

fbernaly commented 3 weeks ago

@SuryaAbyss : Thanks for the contribution! Could you change the other build.gradle files for the other plugins and double check the example app is still compiling/running with those changes.

github-actions[bot] commented 1 week ago

This PR is stale because it has been open for 14 days with no activity.

bensonarafat commented 4 days ago

@SuryaAbyss Any update on this?