main function

void main()

Script to migrate all detected projects to the new Gradle plugin registration mechanism. Follows this doc: https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply Run manually, not wired to any CI. Some migration notes are embedded in the string containers below, under updateGradleFiles().

Implementation

void main() async {
  // launch from path
  updateGradleFilesInDir(
    Directory.current,
  );
}