Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to limit Gradle downloads to only one file per instance

Tags:

android

gradle

While I have an unstable connection I would like gradle to download files only one after another, instead of the default parallel download mode, a preview of parallel-mode is below:

enter image description here

Because as it is currently none of the files gets ever downloaded to its end, it's wasting time, and time is money.

like image 600
Top-Master Avatar asked Sep 12 '25 20:09

Top-Master


1 Answers

You can refer the solution shared by sterling here

And we can set the org.gradle.parallel property in a gradle.properties file (which should be placed in the projects root directory, besides of build.gradle file), just append a line like org.gradle.parallel=false to gradle.properties file.

see also: Disabling parralel threads

like image 155
SHASHI SHEKHAR Barnwal Avatar answered Sep 15 '25 09:09

SHASHI SHEKHAR Barnwal