• Jonah Williams's avatar
    [flutter_tools] Reland: simplify pub cache logic (#67589) · cb67513f
    Jonah Williams authored
    There have been some more additional reports of a missing 'package:characters' import after upgrading flutter. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub.
    
    Also takes an opportunity to fix the kernel snapshot depending on the .packages or package_config. Due to the generated: date field this causes extra rebuilds. Instead when pub get is run, write out an additional file with just the package contents and version.
    
    Fixes #66777
    Fixes #65723
    cb67513f
build.dart 10.4 KB