-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Use case
This issue is to request that the behavior of removing the contents of the .gradle folder when a problem occurs with the internet connection can be enabled or disabled by a setting, perhaps a parameter of flutter run and flutter build, perhaps through an operating system environment variable or perhaps through a configuration file.
Many developers do not have a stable Internet connection so the delete behavior if an Internet connection problem occurs, is really inconvenient, because downloading the files again is a problem. I understand that the delete behavior is to prevent corrupt Gradle files from being used, but it would be great if that behavior is configurable.
It was already mentioned in another issue (#89000) and it was concluded that it is expected behavior.
| final GradleHandledError networkErrorHandler = GradleHandledError( |