Always use user-level pub cache (#121802)

Use the pub cache resolved by pub itself.
To add packages to the flutter.zip download they are packaged as tar.gz and added to the pub-cache on first run by using  `pub cache preload`.
This commit is contained in:
Sigurd Meldgaard
2023-03-13 08:38:17 +01:00
committed by GitHub
parent 9ba0d08ebc
commit 1fd84f88e9
8 changed files with 160 additions and 256 deletions

2
.gitignore vendored
View File

@@ -51,7 +51,7 @@ analysis_benchmark.json
.flutter-plugins-dependencies
**/generated_plugin_registrant.dart
.packages
.pub-cache/
.pub-preload-cache/
.pub/
build/
flutter_*.png